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);