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