@@ -50,8 +50,7 @@ discard block |
||
50 | 50 | if(!$configure[$channel]) { |
51 | 51 | unset($configure[$channel]); |
52 | 52 | } |
53 | - } |
|
54 | - else { |
|
53 | + } else { |
|
55 | 54 | $this->error("No configuration for ".$channel." in server-monitor-plugin-notification-by-host.php file configuration"); |
56 | 55 | } |
57 | 56 | } |
@@ -99,8 +98,7 @@ discard block |
||
99 | 98 | private function configuration($host, $notificationsParameters) { |
100 | 99 | if(!$notificationsParameters) { |
101 | 100 | $this->warn("The host {$host->name} has no notification configure !"); |
102 | - } |
|
103 | - else { |
|
101 | + } else { |
|
104 | 102 | |
105 | 103 | $this->line("----- Notification configuration -----"); |
106 | 104 |