Skip to content

Commit

Permalink
Github action tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed May 11, 2024
1 parent 1d46c42 commit ae91397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OrmClassesGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae91397

Please sign in to comment.