@@ -48,7 +48,7 @@ public function __construct(
48
48
* @param array $context
49
49
* @return void
50
50
*/
51
- public function emergency ($ message , array $ context = [])
51
+ public function emergency ($ message , array $ context = []): void
52
52
{
53
53
$ this ->log (LogLevel::EMERGENCY , $ message , $ context );
54
54
}
@@ -63,7 +63,7 @@ public function emergency($message, array $context = [])
63
63
* @param array $context
64
64
* @return void
65
65
*/
66
- public function alert ($ message , array $ context = [])
66
+ public function alert ($ message , array $ context = []): void
67
67
{
68
68
$ this ->log (LogLevel::ALERT , $ message , $ context );
69
69
}
@@ -77,7 +77,7 @@ public function alert($message, array $context = [])
77
77
* @param array $context
78
78
* @return void
79
79
*/
80
- public function critical ($ message , array $ context = [])
80
+ public function critical ($ message , array $ context = []): void
81
81
{
82
82
$ this ->log (LogLevel::CRITICAL , $ message , $ context );
83
83
}
@@ -90,7 +90,7 @@ public function critical($message, array $context = [])
90
90
* @param array $context
91
91
* @return void
92
92
*/
93
- public function error ($ message , array $ context = [])
93
+ public function error ($ message , array $ context = []): void
94
94
{
95
95
$ this ->log (LogLevel::ERROR , $ message , $ context );
96
96
}
@@ -105,7 +105,7 @@ public function error($message, array $context = [])
105
105
* @param array $context
106
106
* @return void
107
107
*/
108
- public function warning ($ message , array $ context = [])
108
+ public function warning ($ message , array $ context = []): void
109
109
{
110
110
$ this ->log (LogLevel::WARNING , $ message , $ context );
111
111
}
@@ -117,7 +117,7 @@ public function warning($message, array $context = [])
117
117
* @param array $context
118
118
* @return void
119
119
*/
120
- public function notice ($ message , array $ context = [])
120
+ public function notice ($ message , array $ context = []): void
121
121
{
122
122
$ this ->log (LogLevel::NOTICE , $ message , $ context );
123
123
}
@@ -131,7 +131,7 @@ public function notice($message, array $context = [])
131
131
* @param array $context
132
132
* @return void
133
133
*/
134
- public function info ($ message , array $ context = [])
134
+ public function info ($ message , array $ context = []): void
135
135
{
136
136
$ this ->log (LogLevel::INFO , $ message , $ context );
137
137
}
@@ -143,7 +143,7 @@ public function info($message, array $context = [])
143
143
* @param array $context
144
144
* @return void
145
145
*/
146
- public function debug ($ message , array $ context = [])
146
+ public function debug ($ message , array $ context = []): void
147
147
{
148
148
$ this ->log (LogLevel::DEBUG , $ message , $ context );
149
149
}
0 commit comments