| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public static function getSubscribedServices(): array |
||
| 18 | { |
||
| 19 | return \array_merge(parent::getSubscribedServices(), [ |
||
| 20 | // injecting the service here allows it to be used in the self::getCurrentUser() method |
||
| 21 | // without having to inject it in every child controller __construct() method |
||
| 22 | UserResolver::class, |
||
| 23 | ]); |
||
| 43 |