@@ -159,6 +159,10 @@ |
||
| 159 | 159 | } |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | + /** |
|
| 163 | + * @param string $identifier |
|
| 164 | + * @param string $message |
|
| 165 | + */ |
|
| 162 | 166 | public function send($identifier, $system, $message, $status, $url = '', $value = 0) |
| 163 | 167 | { |
| 164 | 168 | $event = new Event($identifier, $system, $status, $this->tool, $message, $value); |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $this->collect = $collect; |
| 52 | 52 | $this->identifier = $identifier; |
| 53 | 53 | |
| 54 | - if($tool) { |
|
| 54 | + if ($tool) { |
|
| 55 | 55 | $this->tool = $tool; |
| 56 | 56 | } |
| 57 | 57 | |