Completed
Push — master ( 440812...68fe7b )
by Derek Stephen
02:06
created
src/Entity/OAuth/Command/ClientCommand.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * @param InputInterface $input
50 50
      * @param OutputInterface $output
51
-     * @return int|null|Client
51
+     * @return null|Client
52 52
      * @throws \Doctrine\ORM\OptimisticLockException
53 53
      */
54 54
     protected function execute(InputInterface $input, OutputInterface $output)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Del\Service\UserService;
6 6
 use OAuth\Client;
7 7
 use OAuth\Service\ClientService;
8
-use OAuth\OAuthUser;
9 8
 use Symfony\Component\Console\Command\Command;
10 9
 use Symfony\Component\Console\Input\InputInterface;
11 10
 use Symfony\Component\Console\Output\OutputInterface;
Please login to merge, or discard this patch.
src/Entity/OAuth/Repository/ClientRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      * @param null|string|null $clientSecret
16 16
      * @param bool $mustValidateSecret
17 17
      *
18
-     * @return ClientEntityInterface|null
18
+     * @return null|Client
19 19
      */
20 20
     public function getClientEntity($clientIdentifier, $grantType, $clientSecret = null, $mustValidateSecret = true)
21 21
     {
Please login to merge, or discard this patch.
src/Entity/OAuth/Repository/UserRepository.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Del\Repository\UserRepository as UserRepo;
6 6
 use League\OAuth2\Server\Entities\ClientEntityInterface;
7
-use League\OAuth2\Server\Entities\UserEntityInterface;
8 7
 use League\OAuth2\Server\Repositories\UserRepositoryInterface;
9 8
 use OAuth\Client;
10 9
 
Please login to merge, or discard this patch.
src/Entity/OAuth/AuthCode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
     /**
136 136
      * Get the token user's identifier.
137 137
      *
138
-     * @return User
138
+     * @return OAuthUser
139 139
      */
140 140
     public function getUserIdentifier()
141 141
     {
Please login to merge, or discard this patch.
src/App/Controller/BaseController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@
 block discarded – undo
40 40
         $this->setStatusCode($statusCode);
41 41
     }
42 42
 
43
+    /**
44
+     * @param string $method
45
+     */
43 46
     protected function httpMethodCheck($method)
44 47
     {
45 48
         if ($this->getRequest()->getMethod() !== $method) {
Please login to merge, or discard this patch.