Completed
Push — master ( 178a08...5c0b6f )
by Oleg
05:22
created
src/Authentication/Controller/GenerateTemporaryTokenAction.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@  discard block
 block discarded – undo
4 4
 namespace SlayerBirden\DataFlowServer\Authentication\Controller;
5 5
 
6 6
 use Doctrine\ORM\EntityManager;
7
-use Doctrine\ORM\ORMException;
8 7
 use Psr\Http\Message\ResponseInterface;
9 8
 use Psr\Http\Message\ServerRequestInterface;
10 9
 use Psr\Http\Server\MiddlewareInterface;
@@ -13,7 +12,6 @@  discard block
 block discarded – undo
13 12
 use SlayerBirden\DataFlowServer\Authentication\Exception\PermissionDeniedException;
14 13
 use SlayerBirden\DataFlowServer\Authentication\TokenManagerInterface;
15 14
 use SlayerBirden\DataFlowServer\Doctrine\Middleware\ResourceMiddlewareInterface;
16
-use SlayerBirden\DataFlowServer\Domain\Entities\ClaimedResourceInterface;
17 15
 use SlayerBirden\DataFlowServer\Domain\Entities\User;
18 16
 use SlayerBirden\DataFlowServer\Notification\DangerMessage;
19 17
 use SlayerBirden\DataFlowServer\Notification\SuccessMessage;
Please login to merge, or discard this patch.
src/Authentication/Entities/Token.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
     }
151 151
 
152 152
     /**
153
-     * @param Collection|Grant[] $grants
153
+     * @param Collection $grants
154 154
      */
155 155
     public function setGrants(Collection $grants): void
156 156
     {
Please login to merge, or discard this patch.
src/Authentication/Service/TokenManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * @param Token $token
116 116
      * @param array $resources
117 117
      * @param User $user
118
-     * @return ArrayCollection|Grant[]
118
+     * @return \Doctrine\Common\Collections\Collection
119 119
      * @throws PermissionDeniedException
120 120
      * @throws ORMException
121 121
      */
Please login to merge, or discard this patch.