| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 27 | public function loadRoutes() | ||
|  | |||
| 28 |     { | ||
| 29 |         if ($this->enableCustomLogin) { | ||
| 30 | return new RouteCollection(); | ||
| 31 | } | ||
| 32 | |||
| 33 | $fileLocator = new FileLocator([__DIR__.'/../../Resources/config']); | ||
| 34 | $loaderResolver = new LoaderResolver([new XmlFileLoader($fileLocator)]); | ||
| 35 | $delegatingLoader = new DelegatingLoader($loaderResolver); | ||
| 36 | |||
| 37 |         return $delegatingLoader->load('routing_fos.xml'); | ||
| 38 | } | ||
| 39 | } | ||
| 40 | 
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.