| 1 | <?php |
||
| 25 | class DefaultNavigationFactory extends ZfDefaultNavigationFactory |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Inject components into the pages. |
||
| 30 | * |
||
| 31 | * @internal |
||
| 32 | * Parses the pages options for the "active_on" property and |
||
| 33 | * sets the active flag if one of the routes match. |
||
| 34 | * |
||
| 35 | * @param array $pages |
||
| 36 | * @param RouteMatch $routeMatch |
||
|
|
|||
| 37 | * @param Router $router |
||
| 38 | * @param null $request |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | protected function injectComponents( |
||
| 58 | |||
| 59 | |||
| 60 | } |
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.