From ae9139728f56de188b2e07d63e41d1558c789428 Mon Sep 17 00:00:00 2001 From: rotimi Date: Sat, 11 May 2024 02:36:42 -0600 Subject: [PATCH] Github action tweak --- src/OrmClassesGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrmClassesGenerator.php b/src/OrmClassesGenerator.php index 464a011..40804dc 100644 --- a/src/OrmClassesGenerator.php +++ b/src/OrmClassesGenerator.php @@ -479,7 +479,7 @@ protected function generateColNamesAsPhpDocClassProperties(string $tableName): s $coltype = $col->type; $unsigned = ''; - if (substr(strtoupper($coltype), -9) == ' UNSIGNED') { + if (substr(strtoupper($coltype), -9) === ' UNSIGNED') { $unsigned = substr($coltype, -9); $coltype = substr($coltype, 0, -9);