| @@ -138,18 +138,18 @@ | ||
| 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 |