Skip to content

Commit

Permalink
ENH Use self::class::method() syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jun 17, 2024
1 parent 80bdc3b commit c965269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Traits/SortTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ trait SortTrait
private static function getSortArgs(ResolveInfo $info, array $args, string $fieldName): array
{
$sortArgs = [];
$sortOrder = self::getSortOrder($info, $fieldName);
$sortOrder = self::class::getSortOrder($info, $fieldName);

foreach ($sortOrder as $orderName) {
if (!isset($args[$fieldName][$orderName])) {
Expand Down

0 comments on commit c965269

Please sign in to comment.