Skip to content

Commit 071e5a4

Browse files
authored
Fix typo (#565)
1 parent b7d6512 commit 071e5a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Gitlab/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ public function authenticate($token, $authMethod = null, $sudo = null)
465465
@trigger_error(sprintf('The $authMethod will become required in version 10.0. Not providing an explicit authentication method is deprecated since version 9.18.'), E_USER_DEPRECATED);
466466
$authMethod = self::AUTH_URL_TOKEN;
467467
} elseif (self::AUTH_URL_TOKEN === $authMethod) {
468-
@trigger_error(sprintf('The AUTH_URL_TOKEN authentivation method is deprecated since version 9.18 and will be removed in 10.0. Use AUTH_HTTP_TOKEN instead.'), E_USER_DEPRECATED);
468+
@trigger_error(sprintf('The AUTH_URL_TOKEN authentication method is deprecated since version 9.18 and will be removed in 10.0. Use AUTH_HTTP_TOKEN instead.'), E_USER_DEPRECATED);
469469
} elseif (self::AUTH_HTTP_TOKEN !== $authMethod && self::AUTH_OAUTH_TOKEN !== $authMethod) {
470470
@trigger_error(sprintf('Passing an invalid authentication method is deprecated since version 9.1 and will be banned in version 10.0.'), E_USER_DEPRECATED);
471471
}

0 commit comments

Comments
 (0)