1 | <?php |
||
19 | final class SculpinPaginationExtension extends CompilerExtension |
||
20 | { |
||
21 | public function loadConfiguration() |
||
28 | |||
29 | // todo: set configuration parameter alias |
||
30 | |||
31 | // public function getConfiguration() : ConfigurationInterface |
||
32 | // { |
||
33 | // return new Configuration(); |
||
34 | // } |
||
35 | // |
||
36 | // protected function getParametersAliases() : array |
||
37 | // { |
||
38 | // return [ |
||
39 | // 'max_per_page' => 'sculpin_pagination.max_per_page', |
||
40 | // ]; |
||
41 | // } |
||
42 | } |
||
43 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.