CS issue: please add a block to the conditional:

```php
if ($routes->has($name, false)) {
    continue;
}
```