Skip to content

Commit

Permalink
operator <=> (#44154)
Browse files Browse the repository at this point in the history
return int
1, 0, -1
  • Loading branch information
61-6c-69 authored Sep 16, 2022
1 parent 824a2b0 commit 7a03411
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Collections/Traits/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,7 @@ protected function operatorForWhere($key, $operator = null, $value = null)
case '>=': return $retrieved >= $value;
case '===': return $retrieved === $value;
case '!==': return $retrieved !== $value;
case '<=>': return $retrieved <=> $value;
}
};
}
Expand Down

0 comments on commit 7a03411

Please sign in to comment.