Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function addAfter($index, $items) { |
||
40 | |||
41 | if (!is_array($items)) { |
||
42 | throw new \InvalidArgumentException('You can add after only array of items'); |
||
43 | } |
||
44 | |||
45 | foreach ($items as $item) { |
||
46 | $this->validateType($item); |
||
47 | } |
||
48 | |||
49 | return parent::addAfter($index, $items); |
||
50 | } |
||
51 | |||
75 | } |