Skip to content

Commit

Permalink
fix: add the return for the function.
Browse files Browse the repository at this point in the history
  • Loading branch information
ping-yee committed Sep 15, 2024
1 parent d671282 commit dfe2d82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/Database/SQLite3/Forge.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ public function dropColumn(string $table, $columnNames)
'Failed to drop column. Table: "' . $table
. '", Column: "' . $columns . '"'
);

return false;

Check failure on line 179 in system/Database/SQLite3/Forge.php

View workflow job for this annotation

GitHub Actions / PHP Static Analysis

Unreachable statement - code above always terminates.
}

return $sqlExecuteResult;
Expand Down

0 comments on commit dfe2d82

Please sign in to comment.