mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
Fix coding standards violations
This commit is contained in:
@ -62,7 +62,7 @@ class PluginExampleRuleTest extends Rule {
|
||||
|
||||
function getCriterias() {
|
||||
|
||||
$criterias = array();
|
||||
$criterias = [];
|
||||
$criterias['name']['field'] = 'name';
|
||||
$criterias['name']['name'] = __('Software');
|
||||
$criterias['name']['table'] = 'glpi_softwares';
|
||||
@ -73,7 +73,7 @@ class PluginExampleRuleTest extends Rule {
|
||||
|
||||
function getActions() {
|
||||
|
||||
$actions = array();
|
||||
$actions = [];
|
||||
$actions['softwarecategories_id']['name'] = __('Category (class)', 'example');
|
||||
$actions['softwarecategories_id']['type'] = 'dropdown';
|
||||
$actions['softwarecategories_id']['table'] = 'glpi_softwarecategories';
|
||||
|
Reference in New Issue
Block a user