Skip to content

Commit ec9a31f

Browse files
committed
fix: Mark tableName and columnName as non-empty-string
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent b5ca37f commit ec9a31f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/Migration/Version030201Date20201116110353.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ public function changeSchema(IOutput $output, Closure $schemaClosure, array $opt
5050
return $schema;
5151
}
5252

53+
/**
54+
* @param non-empty-string $tableName
55+
* @param non-empty-string $columnName
56+
*/
5357
protected function ensureColumnIsNullable(ISchemaWrapper $schema, string $tableName, string $columnName): bool {
5458
$table = $schema->getTable($tableName);
5559
$column = $table->getColumn($columnName);

0 commit comments

Comments
 (0)