@@ -58,14 +58,14 @@ public function testConstructor()
5858
5959
6060 /**
61- * @param array $authHeaderContent
61+ * @param array $authHeader
6262 * @dataProvider provideInvalidAuthenticationHeader
6363 */
64- public function testIsAuthenticatedWithInvalidData (array $ authHeaderContent )
64+ public function testIsAuthenticatedWithInvalidData (array $ authHeader )
6565 {
6666 $ this ->request
6767 ->getHeader ('Authorization ' )
68- ->willReturn ($ authHeaderContent );
68+ ->willReturn ($ authHeader );
6969
7070 $ this ->userRepository ->authenticate (Argument::any (), Argument::any ())->shouldNotBeCalled ();
7171
@@ -80,14 +80,14 @@ public function testIsAuthenticatedWithInvalidData(array $authHeaderContent)
8080 /**
8181 * @param string $username
8282 * @param string $password
83- * @param array $header
83+ * @param array $authHeader
8484 * @dataProvider provideValidAuthentication
8585 */
86- public function testIsAuthenticatedWithValidCredential (string $ username , string $ password , array $ header )
86+ public function testIsAuthenticatedWithValidCredential (string $ username , string $ password , array $ authHeader )
8787 {
8888 $ this ->request
8989 ->getHeader ('Authorization ' )
90- ->willReturn ($ header );
90+ ->willReturn ($ authHeader );
9191 $ this ->request
9292 ->withAttribute (UserInterface::class, Argument::type (UserInterface::class))
9393 ->willReturn ($ this ->request ->reveal ());
0 commit comments