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:
@ -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');
|
||||
|
Reference in New Issue
Block a user