You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated: Spatie\EloquentSortable\SortableTrait::setNewOrder(): Implicitly marking parameter $primaryKeyColumn as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/spatie/eloquent-sortable/src/SortableTrait.php on line 44
The code should be like this, enabling the null attribute type not to use implicitly marking the parameter's value as null:
public static function setNewOrder(
$ids,
int $startOrder = 1,
string|null $primaryKeyColumn = null,
callable|null $modifyQuery = null
): void {
...
}
The text was updated successfully, but these errors were encountered:
Deprecated: Spatie\EloquentSortable\SortableTrait::setNewOrder(): Implicitly marking parameter $primaryKeyColumn as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/vendor/spatie/eloquent-sortable/src/SortableTrait.php on line 44
The code should be like this, enabling the
null
attribute type not to use implicitly marking the parameter's value asnull
:The text was updated successfully, but these errors were encountered: