@@ -25,7 +25,7 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * @return array |
|
| 28 | + * @return integer |
|
| 29 | 29 | */ |
| 30 | 30 | public function stats() |
| 31 | 31 | { |
@@ -980,7 +980,7 @@ |
||
| 980 | 980 | * Initiates the stat call(updates internal cache). It stats (using lstat) the path specified in the watcher and |
| 981 | 981 | * sets the internal cache to the values found. |
| 982 | 982 | * |
| 983 | - * @return bool TRUE if path exists. Otherwise FALSE. |
|
| 983 | + * @return boolean|null TRUE if path exists. Otherwise FALSE. |
|
| 984 | 984 | */ |
| 985 | 985 | public function stat() {} |
| 986 | 986 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | $error = error_get_last(); |
| 13 | 13 | $fatal = E_ERROR | E_USER_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR; |
| 14 | 14 | |
| 15 | - if (! empty($error) && $error['type'] & $fatal) { |
|
| 15 | + if (!empty($error) && $error['type'] & $fatal) { |
|
| 16 | 16 | $logger->critical('Stopping worker because fatal error occurred', $error); |
| 17 | 17 | $worker->stop(); |
| 18 | 18 | } |