@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace Majora\Component\OAuth\Repository\Null; |
|
| 3 | +namespace Majora\Component\OAuth\Repository\null; |
|
| 4 | 4 | |
| 5 | 5 | use Majora\Component\OAuth\Repository\RefreshTokenRepositoryInterface; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -namespace Majora\Component\OAuth\Repository\Null; |
|
| 3 | +namespace Majora\Component\OAuth\Repository\null; |
|
| 4 | 4 | |
| 5 | 5 | use Majora\Component\OAuth\Repository\RefreshTokenRepositoryInterface; |
| 6 | 6 | |
@@ -39,6 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @see TokenInterface::__construct() |
| 42 | + * @param string $hash |
|
| 42 | 43 | */ |
| 43 | 44 | public function __construct( |
| 44 | 45 | ApplicationInterface $application, |
@@ -262,8 +262,7 @@ |
||
| 262 | 262 | ->retrieveByApiKeyAndSecret(Argument::type('string'), Argument::type('string')) |
| 263 | 263 | ->will(function ($args) { |
| 264 | 264 | return $args[0] == 'bad_api_key' && $args[1] == 'bad_secret' ? |
| 265 | - null : |
|
| 266 | - new Application() |
|
| 265 | + null : new Application() |
|
| 267 | 266 | ; |
| 268 | 267 | }) |
| 269 | 268 | ; |