| 1 | <?php |
||
| 10 | class BaseExport implements FromQuery, WithHeadings, ExportContract |
||
| 11 | { |
||
| 12 | use Exportable; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var \Distilleries\Expendable\Models\BaseModel |
||
| 16 | */ |
||
| 17 | private $model; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Carbon |
||
| 21 | */ |
||
| 22 | private $start; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Carbon |
||
| 26 | */ |
||
| 27 | private $end; |
||
| 28 | |||
| 29 | 4 | public function __construct($model, $data) |
|
| 34 | |||
| 35 | 4 | public function export($fileName) |
|
| 39 | |||
| 40 | /** |
||
| 41 | * @return \Illuminate\Database\Query\Builder |
||
| 42 | */ |
||
| 43 | 4 | public function query() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param mixed $model |
||
| 50 | * @return $this |
||
| 51 | */ |
||
| 52 | 4 | public function setModel($model) |
|
| 58 | |||
| 59 | /** |
||
| 60 | * @param array $data |
||
| 61 | * @return $this |
||
| 62 | */ |
||
| 63 | 4 | public function setRange($data) |
|
| 73 | |||
| 74 | /** |
||
| 75 | * @inheritdoc |
||
| 76 | */ |
||
| 77 | 4 | public function headings(): array |
|
| 81 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.