Skip to content

Commit cb397c0

Browse files
committed
refactor: by rector
1 parent cd2d74d commit cb397c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Database/SQLite3/Table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ protected function formatFields($fields)
430430
*/
431431
private function isIntegerType(string $type): bool
432432
{
433-
return (bool) (strpos($type, 'INT') !== false);
433+
return strpos($type, 'INT') !== false;
434434
}
435435

436436
/**
@@ -442,7 +442,7 @@ private function isIntegerType(string $type): bool
442442
*/
443443
private function isNumericType(string $type): bool
444444
{
445-
return (bool) (in_array($type, ['NUMERIC', 'DECIMAL'], true));
445+
return in_array($type, ['NUMERIC', 'DECIMAL'], true);
446446
}
447447

448448
/**

0 commit comments

Comments
 (0)