@@ -14,11 +14,6 @@ trait LoggerTrait
1414{
1515 /**
1616 * System is unusable.
17- *
18- * @param string|\Stringable $message
19- * @param array $context
20- *
21- * @return void
2217 */
2318 public function emergency (string |\Stringable $ message , array $ context = []): void
2419 {
@@ -30,11 +25,6 @@ public function emergency(string|\Stringable $message, array $context = []): voi
3025 *
3126 * Example: Entire website down, database unavailable, etc. This should
3227 * trigger the SMS alerts and wake you up.
33- *
34- * @param string|\Stringable $message
35- * @param array $context
36- *
37- * @return void
3828 */
3929 public function alert (string |\Stringable $ message , array $ context = []): void
4030 {
@@ -45,11 +35,6 @@ public function alert(string|\Stringable $message, array $context = []): void
4535 * Critical conditions.
4636 *
4737 * Example: Application component unavailable, unexpected exception.
48- *
49- * @param string|\Stringable $message
50- * @param array $context
51- *
52- * @return void
5338 */
5439 public function critical (string |\Stringable $ message , array $ context = []): void
5540 {
@@ -59,11 +44,6 @@ public function critical(string|\Stringable $message, array $context = []): void
5944 /**
6045 * Runtime errors that do not require immediate action but should typically
6146 * be logged and monitored.
62- *
63- * @param string|\Stringable $message
64- * @param array $context
65- *
66- * @return void
6747 */
6848 public function error (string |\Stringable $ message , array $ context = []): void
6949 {
@@ -75,11 +55,6 @@ public function error(string|\Stringable $message, array $context = []): void
7555 *
7656 * Example: Use of deprecated APIs, poor use of an API, undesirable things
7757 * that are not necessarily wrong.
78- *
79- * @param string|\Stringable $message
80- * @param array $context
81- *
82- * @return void
8358 */
8459 public function warning (string |\Stringable $ message , array $ context = []): void
8560 {
@@ -88,11 +63,6 @@ public function warning(string|\Stringable $message, array $context = []): void
8863
8964 /**
9065 * Normal but significant events.
91- *
92- * @param string|\Stringable $message
93- * @param array $context
94- *
95- * @return void
9666 */
9767 public function notice (string |\Stringable $ message , array $ context = []): void
9868 {
@@ -103,11 +73,6 @@ public function notice(string|\Stringable $message, array $context = []): void
10373 * Interesting events.
10474 *
10575 * Example: User logs in, SQL logs.
106- *
107- * @param string|\Stringable $message
108- * @param array $context
109- *
110- * @return void
11176 */
11277 public function info (string |\Stringable $ message , array $ context = []): void
11378 {
@@ -116,11 +81,6 @@ public function info(string|\Stringable $message, array $context = []): void
11681
11782 /**
11883 * Detailed debug information.
119- *
120- * @param string|\Stringable $message
121- * @param array $context
122- *
123- * @return void
12484 */
12585 public function debug (string |\Stringable $ message , array $ context = []): void
12686 {
@@ -130,11 +90,7 @@ public function debug(string|\Stringable $message, array $context = []): void
13090 /**
13191 * Logs with an arbitrary level.
13292 *
133- * @param mixed $level
134- * @param string|\Stringable $message
135- * @param array $context
136- *
137- * @return void
93+ * @param mixed $level
13894 *
13995 * @throws \Psr\Log\InvalidArgumentException
14096 */
0 commit comments