Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
celia514 committed Jul 25, 2024
1 parent df578f1 commit b11eae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/ScaffoldResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public static function getTableColumns($tableName)
];

foreach ($columns as $column) {
if ($column->Key === 'PRI') {
if ($column->Field === 'id' && $column->Field === 'ID') {

Check failure on line 161 in src/Resources/ScaffoldResource.php

View workflow job for this annotation

GitHub Actions / phpstan

Result of && is always false.

Check failure on line 161 in src/Resources/ScaffoldResource.php

View workflow job for this annotation

GitHub Actions / phpstan

Strict comparison using === between 'id' and 'ID' will always evaluate to false.
continue;
}

Expand Down

0 comments on commit b11eae0

Please sign in to comment.