| 1 | <?php |
||
| 7 | trait IsSorted |
||
| 8 | { |
||
| 9 | public function setHighestOrderNumber() |
||
| 15 | |||
| 16 | public function getHighestOrderNumber(): int |
||
| 20 | |||
| 21 | public function scopeOrdered(Builder $query): Builder |
||
| 25 | |||
| 26 | /** |
||
| 27 | * This function reorders the records: the record with the first id in the array |
||
| 28 | * will get order 1, the record with the second it will get order 2, ... |
||
| 29 | * |
||
| 30 | * A starting order number can be optionally supplied (defaults to 1). |
||
| 31 | * |
||
| 32 | * @param array $ids |
||
| 33 | * @param int $startOrder |
||
| 34 | */ |
||
| 35 | public static function setNewOrder(array $ids, int $startOrder = 1) |
||
| 46 | |||
| 47 | protected function determineOrderColumnName(): string |
||
| 51 | |||
| 52 | public function shouldSortWhenCreating(): bool |
||
| 56 | } |
||
| 57 |
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.