| 1 | <?php |
||
| 12 | trait FixedArrayStorageTrait |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Enforce that this trait is applied to an OuterIterator |
||
| 16 | */ |
||
| 17 | use \Shrikeh\Collection\RequiresOuterIteratorTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * FixedArrayStorageTrait constructor. |
||
| 21 | * @param Traversable $objects |
||
| 22 | */ |
||
| 23 | public function __construct(Traversable $objects) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param $data |
||
| 44 | * @param $key |
||
| 45 | */ |
||
| 46 | private function append($data, $key) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return mixed |
||
| 54 | */ |
||
| 55 | abstract protected function getStorage(); |
||
| 56 | } |
||
| 57 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.