Skip to content

Commit

Permalink
Fix psalm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Aug 14, 2024
1 parent 63dfa79 commit 99a56ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Schema/Column/ColumnFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
* The default implementation of the {@see ColumnFactoryInterface}.
*
* @psalm-import-type ColumnInfo from ColumnSchemaInterface
* @psalm-suppress MixedArgumentTypeCoercion
*/
class ColumnFactory implements ColumnFactoryInterface
{
Expand Down Expand Up @@ -60,6 +61,7 @@ public function fromDefinition(string $definition, array $info = []): ColumnSche
if (empty($info['extra'])) {
$info['extra'] = $extra;
} else {
/** @psalm-suppress MixedOperand */
$info['extra'] = $extra . ' ' . $info['extra'];
}
}
Expand Down
1 change: 1 addition & 0 deletions src/Schema/Column/ColumnSchemaInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* table?: string|null,
* type?: string,
* unsigned?: bool|string,
* ...<string, mixed>
* }
*/
interface ColumnSchemaInterface
Expand Down

0 comments on commit 99a56ef

Please sign in to comment.