| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 35 | public function getVoterForPermission(string $permission): ?Voter | ||
| 36 |     { | ||
| 37 | $id = $this->permissionToVoter[$permission] | ||
| 38 | ?? throw new VoterNotFound($permission); | ||
| 39 | |||
| 40 |         try { | ||
| 41 | return $this->container->get($id); // @phpstan-ignore-line | ||
| 42 |         } catch (Throwable $e) { | ||
| 43 | throw new VoterNotFound($permission, $e); | ||
| 44 | } | ||
| 47 |