@@ -31,7 +31,7 @@ public function it_is_a_PSR7_logger()
3131 *
3232 * @dataProvider logLevels
3333 */
34- public function the_context_can_be_set_by_the_constructor (string $ level , string $ method , array $ args )
34+ public function the_context_can_be_set_by_the_constructor ($ level , $ method , array $ args )
3535 {
3636 $ context = ['correlation_id ' => uniqid (), 'user_id ' => uniqid ()];
3737 $ logger = new ContextLogger ($ this ->psrLogger ->reveal (), $ context );
@@ -49,7 +49,7 @@ public function the_context_can_be_set_by_the_constructor(string $level, string
4949 *
5050 * @dataProvider logLevels
5151 */
52- public function on_add_context_it_adds_metadata_to_the_message (string $ level , string $ method , array $ args )
52+ public function on_add_context_it_adds_metadata_to_the_message ($ level , $ method , array $ args )
5353 {
5454 $ correlationId = uniqid ();
5555 $ userId = uniqid ();
@@ -70,7 +70,7 @@ public function on_add_context_it_adds_metadata_to_the_message(string $level, st
7070 *
7171 * @dataProvider logLevels
7272 */
73- public function added_context_overrides_constructor_context (string $ level , string $ method , array $ args )
73+ public function added_context_overrides_constructor_context ($ level , $ method , array $ args )
7474 {
7575 $ context = ['correlation_id ' => 'example-id ' , 'user_id ' => 'old-user-id ' ];
7676 $ logger = new ContextLogger ($ this ->psrLogger ->reveal (), $ context );
@@ -90,7 +90,7 @@ public function added_context_overrides_constructor_context(string $level, strin
9090 *
9191 * @dataProvider logLevels
9292 */
93- public function method_context_overrides_added_context (string $ level , string $ method , array $ args )
93+ public function method_context_overrides_added_context ($ level , $ method , array $ args )
9494 {
9595 $ this ->logger ->addContext ('correlation_id ' , 'example-id ' );
9696 $ this ->logger ->addContext ('user_id ' , 'old-user-id ' );
@@ -109,7 +109,7 @@ public function method_context_overrides_added_context(string $level, string $me
109109 *
110110 * @dataProvider logLevels
111111 */
112- public function on_removeContext_it_removes_context_by_key (string $ level , string $ method , array $ args )
112+ public function on_removeContext_it_removes_context_by_key ($ level , $ method , array $ args )
113113 {
114114 $ this ->logger ->addContext ('correlation_id ' , 'example-id ' );
115115 $ this ->logger ->addContext ('user_id ' , 'old-user-id ' );
0 commit comments