Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/OpenID/AbstractProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,6 @@ protected function createConsumer(array $parameters): Consumer
*/
public function createAccessToken(array $information)
{
throw new Unsupported('It\'s usefull to use this method for OpenID, are you sure?');
throw new Unsupported('It\'s useful to use this method for OpenID, are you sure?');
}
}
2 changes: 1 addition & 1 deletion src/OpenIDConnect/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function __construct(array $token)
parent::__construct($token);

if (!isset($token['id_token'])) {
throw new InvalidAccessToken('id_token doesnot exists inside AccessToken');
throw new InvalidAccessToken('id_token does not exist inside AccessToken');
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Test/OpenIDConnect/AccessTokenTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function testConstructSuccess()
public function testConstructFailedWithNoIdKey()
{
$this->expectException(InvalidAccessToken::class);
$this->expectExceptionMessage('id_token doesnot exists inside AccessToken');
$this->expectExceptionMessage('id_token does not exist inside AccessToken');

$expectedToken = "XSFJSKLFJDLKFJDLSJFLDSJFDSLFSD";
$expectedExpires = time();
Expand Down