| Conditions | 5 |
| Paths | 9 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __call($method, $parameters) |
||
|
|
|||
| 21 | { |
||
| 22 | return $this->field->$method(...$parameters); |
||
| 23 | } |
||
| 24 | |||
| 25 | View Code Duplication | public function getPaths($model): array |
|
| 26 | { |
||
| 27 | if (is_null($model)) { |
||
| 28 | return []; |
||
| 29 | } |
||
| 30 | |||
| 31 | $filepath = $this->getAttribute($model); |
||
| 32 | // FIXME: mb change structure for storing files data? |
||
| 50 |
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.