Fix coding standards violations

This commit is contained in:
Cédric Anne
2018-06-22 12:09:53 +02:00
parent 72a8c561ea
commit da86b4e48a
8 changed files with 100 additions and 100 deletions

View File

@ -35,10 +35,10 @@ if (!defined('GLPI_ROOT')) {
class PluginExampleNotificationTargetExample extends NotificationTarget {
function getEvents() {
return array ('alert' => 'alert example');
return ['alert' => 'alert example'];
}
function addDataForTemplate($event, $options=array()) {
function addDataForTemplate($event, $options = []) {
global $DB, $CFG_GLPI;
$this->data['##example.name##'] = __('Example', 'example');