Skip to content

Commit

Permalink
Fix psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 8, 2024
1 parent 8f4b08a commit 48979f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Schema/Column/BigIntColumnSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function __construct(

public function dbTypecast(mixed $value): int|string|ExpressionInterface|null
{
/** @var int|string|ExpressionInterface|null */
return match (gettype($value)) {
GettypeResult::STRING => $value === '' ? null : (
$value <= PHP_INT_MAX && $value >= PHP_INT_MIN
Expand Down

0 comments on commit 48979f5

Please sign in to comment.