| @@ -13,10 +13,10 @@ | ||
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | 15 | * System is unusable. |
| 16 | 16 | * |
| 17 | - * @param string $message | |
| 18 | - * @param array $context | |
| 17 | + * @param string $message | |
| 18 | + * @param mixed[] $context | |
| 19 | 19 | * |
| 20 | 20 | * @return void |
| 21 | 21 | */ |
| 22 | 22 | public function emergency($message, array $context = array()) |
| @@ -28,10 +28,10 @@ | ||
| 28 | 28 | * |
| 29 | 29 | * Example: Entire website down, database unavailable, etc. This should |
| 30 | 30 | * trigger the SMS alerts and wake you up. |
| 31 | 31 | * |
| 32 | - * @param string $message | |
| 33 | - * @param array $context | |
| 32 | + * @param string $message | |
| 33 | + * @param mixed[] $context | |
| 34 | 34 | * |
| 35 | 35 | * @return void |
| 36 | 36 | */ |
| 37 | 37 | public function alert($message, array $context = array()) |
| @@ -42,10 +42,10 @@ | ||
| 42 | 42 | * Critical conditions. |
| 43 | 43 | * |
| 44 | 44 | * Example: Application component unavailable, unexpected exception. |
| 45 | 45 | * |
| 46 | - * @param string $message | |
| 47 | - * @param array $context | |
| 46 | + * @param string $message | |
| 47 | + * @param mixed[] $context | |
| 48 | 48 | * |
| 49 | 49 | * @return void |
| 50 | 50 | */ |
| 51 | 51 | public function critical($message, array $context = array()) |
| @@ -55,10 +55,10 @@ | ||
| 55 | 55 | /** |
| 56 | 56 | * Runtime errors that do not require immediate action but should typically |
| 57 | 57 | * be logged and monitored. |
| 58 | 58 | * |
| 59 | - * @param string $message | |
| 60 | - * @param array $context | |
| 59 | + * @param string $message | |
| 60 | + * @param mixed[] $context | |
| 61 | 61 | * |
| 62 | 62 | * @return void |
| 63 | 63 | */ |
| 64 | 64 | public function error($message, array $context = array()) |
| @@ -70,10 +70,10 @@ | ||
| 70 | 70 | * |
| 71 | 71 | * Example: Use of deprecated APIs, poor use of an API, undesirable things |
| 72 | 72 | * that are not necessarily wrong. |
| 73 | 73 | * |
| 74 | - * @param string $message | |
| 75 | - * @param array $context | |
| 74 | + * @param string $message | |
| 75 | + * @param mixed[] $context | |
| 76 | 76 | * |
| 77 | 77 | * @return void |
| 78 | 78 | */ |
| 79 | 79 | public function warning($message, array $context = array()) |
| @@ -82,10 +82,10 @@ | ||
| 82 | 82 | } |
| 83 | 83 | /** |
| 84 | 84 | * Normal but significant events. |
| 85 | 85 | * |
| 86 | - * @param string $message | |
| 87 | - * @param array $context | |
| 86 | + * @param string $message | |
| 87 | + * @param mixed[] $context | |
| 88 | 88 | * |
| 89 | 89 | * @return void |
| 90 | 90 | */ |
| 91 | 91 | public function notice($message, array $context = array()) |
| @@ -96,10 +96,10 @@ | ||
| 96 | 96 | * Interesting events. |
| 97 | 97 | * |
| 98 | 98 | * Example: User logs in, SQL logs. |
| 99 | 99 | * |
| 100 | - * @param string $message | |
| 101 | - * @param array $context | |
| 100 | + * @param string $message | |
| 101 | + * @param mixed[] $context | |
| 102 | 102 | * |
| 103 | 103 | * @return void |
| 104 | 104 | */ |
| 105 | 105 | public function info($message, array $context = array()) |
| @@ -108,10 +108,10 @@ | ||
| 108 | 108 | } |
| 109 | 109 | /** |
| 110 | 110 | * Detailed debug information. |
| 111 | 111 | * |
| 112 | - * @param string $message | |
| 113 | - * @param array $context | |
| 112 | + * @param string $message | |
| 113 | + * @param mixed[] $context | |
| 114 | 114 | * |
| 115 | 115 | * @return void |
| 116 | 116 | */ |
| 117 | 117 | public function debug($message, array $context = array()) |