| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function create($data = [], $relations = [], $siblings = []) { |
||
| 15 | $obj = (is_callable($this->className)) ? call_user_func($this->className) : new $this->className; |
||
| 16 | $writer = new PropertyWriter($obj); |
||
| 17 | $writer->write($data); |
||
| 18 | return $this->wrap($relations, $obj, $siblings); |
||
| 19 | } |
||
| 33 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.