Completed
Push — master ( beb91f...53eeea )
by Mārtiņš
01:49
created
src/Palladium/Service/Search.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -138,18 +138,18 @@
 block discarded – undo
138 138
     /**
139 139
      * @throws Palladium\Exception\IdentityNotFound if identity was not found
140 140
      */
141
-     public function findIdentityByToken(string $token, int $action = Entity\Identity::ACTION_NONE): Entity\Identity
142
-     {
143
-         $identity = new Entity\Identity;
141
+        public function findIdentityByToken(string $token, int $action = Entity\Identity::ACTION_NONE): Entity\Identity
142
+        {
143
+            $identity = new Entity\Identity;
144 144
 
145
-         $identity->setToken($token);
146
-         $identity->setTokenAction($action);
147
-         $identity->setTokenEndOfLife(time());
145
+            $identity->setToken($token);
146
+            $identity->setTokenAction($action);
147
+            $identity->setTokenEndOfLife(time());
148 148
 
149
-         $this->repository->load($identity);
149
+            $this->repository->load($identity);
150 150
 
151
-         return $identity;
152
-     }
151
+            return $identity;
152
+        }
153 153
 
154 154
     /**
155 155
      * @throws Palladium\Exception\IdentityNotFound if identity was not found
Please login to merge, or discard this patch.