1 | <?php |
||
13 | class Column extends Fluent |
||
14 | { |
||
15 | /** |
||
16 | * @param array $attributes |
||
17 | */ |
||
18 | public function __construct($attributes = []) |
||
33 | |||
34 | /** |
||
35 | * Parse render attribute. |
||
36 | * |
||
37 | * @param \Closure|string $value |
||
38 | * @return string|null |
||
39 | */ |
||
40 | public function parseRender($value) |
||
52 | |||
53 | /** |
||
54 | * Display render value as is. |
||
55 | * |
||
56 | * @param string $value |
||
57 | * @return string |
||
58 | */ |
||
59 | private function parseRenderAsString($value) |
||
63 | } |
||
64 |
This check looks at variables that have been passed in as parameters and 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.