Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
46 | public function __construct(string $name, callable $callback, FunctionSpecInterface $spec, $object = null, ?ObjectSpecInterface $object_spec = null) |
||
47 | { |
||
48 | $this->name = $name; |
||
49 | $this->callback = $callback; |
||
50 | $this->spec = $spec; |
||
51 | $this->object = $object; |
||
52 | $this->object_spec = $object_spec; |
||
53 | } |
||
54 | |||
95 |