vendor and env first commit

This commit is contained in:
2025-03-28 08:52:46 +01:00
parent f8388bc81b
commit 8f26283832
10976 changed files with 1349952 additions and 2 deletions
@@ -0,0 +1,14 @@
<?php
namespace Spatie\QueryBuilder\Exceptions;
use Exception;
use Spatie\QueryBuilder\Enums\SortDirection;
class InvalidDirection extends Exception
{
public static function make(string $sort)
{
return new static('The direction should be either `'.SortDirection::DESCENDING.'` or `'.SortDirection::ASCENDING)."`. {$sort} given.";
}
}