<?php array_fill(int $start_index, int $count, mixed $value): array
<?php } if (is_numeric($records)) { $records = array_fill(0, $records, []); } return new EloquentCollection(
<?php return array_map( [$this, 'prepareRule'], $rule, array_fill((int) array_key_first($rule), count($rule), $attribute) ); }
<?php $builder->shouldReceive('take')->andReturnSelf(); $builder->shouldReceive('get')->andReturn( collect(array_fill(0, 3, 'data')) ); $this->assertDatabaseHas($this->table, $this->data);