Skip to content

Commit fd1b288

Browse files
committed
gettype
1 parent 1ef3855 commit fd1b288

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Database/Validator/Sequence.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ public function isValid($value): bool
4646
return false;
4747
}
4848

49-
$type = gettype($value);
50-
51-
if ($type !== 'string') {
49+
if (gettype($value) !== 'string') {
5250
return false;
5351
}
5452

0 commit comments

Comments
 (0)