We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd2d74d commit cb397c0Copy full SHA for cb397c0
system/Database/SQLite3/Table.php
@@ -430,7 +430,7 @@ protected function formatFields($fields)
430
*/
431
private function isIntegerType(string $type): bool
432
{
433
- return (bool) (strpos($type, 'INT') !== false);
+ return strpos($type, 'INT') !== false;
434
}
435
436
/**
@@ -442,7 +442,7 @@ private function isIntegerType(string $type): bool
442
443
private function isNumericType(string $type): bool
444
445
- return (bool) (in_array($type, ['NUMERIC', 'DECIMAL'], true));
+ return in_array($type, ['NUMERIC', 'DECIMAL'], true);
446
447
448
0 commit comments