| @@ -24,11 +24,11 @@ | ||
| 24 | 24 | * System is unusable. |
| 25 | 25 | * |
| 26 | 26 | * @param string $message |
| 27 | 27 | * @param array $context |
| 28 | - * @return null | |
| 28 | + * @return void | |
| 29 | 29 | */ |
| 30 | - public function emergency($message, array $context = array()); | |
| 30 | + public function emergency($message, $context = array()); | |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * Action must be taken immediately. |
| 34 | 34 | * |
| @@ -36,11 +36,11 @@ | ||
| 36 | 36 | * trigger the SMS alerts and wake you up. |
| 37 | 37 | * |
| 38 | 38 | * @param string $message |
| 39 | 39 | * @param array $context |
| 40 | - * @return null | |
| 40 | + * @return void | |
| 41 | 41 | */ |
| 42 | - public function alert($message, array $context = array()); | |
| 42 | + public function alert($message, $context = array()); | |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * Critical conditions. |
| 46 | 46 | * |
| @@ -47,11 +47,11 @@ | ||
| 47 | 47 | * Example: Application component unavailable, unexpected exception. |
| 48 | 48 | * |
| 49 | 49 | * @param string $message |
| 50 | 50 | * @param array $context |
| 51 | - * @return null | |
| 51 | + * @return void | |
| 52 | 52 | */ |
| 53 | - public function critical($message, array $context = array()); | |
| 53 | + public function critical($message, $context = array()); | |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Runtime errors that do not require immediate action but should typically |
| 57 | 57 | * be logged and monitored. |
| @@ -57,11 +57,11 @@ | ||
| 57 | 57 | * be logged and monitored. |
| 58 | 58 | * |
| 59 | 59 | * @param string $message |
| 60 | 60 | * @param array $context |
| 61 | - * @return null | |
| 61 | + * @return void | |
| 62 | 62 | */ |
| 63 | - public function error($message, array $context = array()); | |
| 63 | + public function error($message, $context = array()); | |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * Exceptional occurrences that are not errors. |
| 67 | 67 | * |
| @@ -69,11 +69,11 @@ | ||
| 69 | 69 | * that are not necessarily wrong. |
| 70 | 70 | * |
| 71 | 71 | * @param string $message |
| 72 | 72 | * @param array $context |
| 73 | - * @return null | |
| 73 | + * @return void | |
| 74 | 74 | */ |
| 75 | - public function warning($message, array $context = array()); | |
| 75 | + public function warning($message, $context = array()); | |
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * Normal but significant events. |
| 79 | 79 | * |
| @@ -78,11 +78,11 @@ | ||
| 78 | 78 | * Normal but significant events. |
| 79 | 79 | * |
| 80 | 80 | * @param string $message |
| 81 | 81 | * @param array $context |
| 82 | - * @return null | |
| 82 | + * @return void | |
| 83 | 83 | */ |
| 84 | - public function notice($message, array $context = array()); | |
| 84 | + public function notice($message, $context = array()); | |
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * Interesting events. |
| 88 | 88 | * |
| @@ -89,11 +89,11 @@ | ||
| 89 | 89 | * Example: User logs in, SQL logs. |
| 90 | 90 | * |
| 91 | 91 | * @param string $message |
| 92 | 92 | * @param array $context |
| 93 | - * @return null | |
| 93 | + * @return void | |
| 94 | 94 | */ |
| 95 | - public function info($message, array $context = array()); | |
| 95 | + public function info($message, $context = array()); | |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | 98 | * Detailed debug information. |
| 99 | 99 | * |
| @@ -98,11 +98,11 @@ | ||
| 98 | 98 | * Detailed debug information. |
| 99 | 99 | * |
| 100 | 100 | * @param string $message |
| 101 | 101 | * @param array $context |
| 102 | - * @return null | |
| 102 | + * @return void | |
| 103 | 103 | */ |
| 104 | - public function debug($message, array $context = array()); | |
| 104 | + public function debug($message, $context = array()); | |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | 107 | * Logs with an arbitrary level. |
| 108 | 108 | * |
| @@ -108,8 +108,8 @@ | ||
| 108 | 108 | * |
| 109 | 109 | * @param string $message |
| 110 | 110 | * @param mixed $level |
| 111 | 111 | * @param array $context |
| 112 | - * @return null | |
| 112 | + * @return void | |
| 113 | 113 | */ |
| 114 | - public function log($message, $level, array $context = array()); | |
| 114 | + public function log($message, $level, $context = array()); | |
| 115 | 115 | } |