Completed
Pull Request — release-v2.1 (#15)
by Quentin
08:46 queued 01:14
created
src/Majora/Component/OAuth/Repository/Null/AccountRepository.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Majora/Component/OAuth/Repository/Null/ApplicationRepository.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Majora/Component/OAuth/Entity/Token.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @see TokenInterface::__construct()
42
+     * @param string $hash
42 43
      */
43 44
     public function __construct(
44 45
         ApplicationInterface $application,
Please login to merge, or discard this patch.
src/Majora/Component/OAuth/Tests/Server/ServerTest.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,8 +262,7 @@
 block discarded – undo
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
         ;
Please login to merge, or discard this patch.