Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Sep 16, 2024
1 parent 926c925 commit 096212b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Schema/Column/ColumnBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static function uuidPrimaryKey(bool $autoIncrement = false): ColumnSchema
*/
public static function boolean(): ColumnSchemaInterface
{
return (new BooleanColumnSchema(ColumnType::BOOLEAN));
return new BooleanColumnSchema(ColumnType::BOOLEAN);
}

/**
Expand Down Expand Up @@ -193,7 +193,7 @@ public static function binary(int|null $size = null): ColumnSchemaInterface
*/
public static function uuid(): ColumnSchemaInterface
{
return (new StringColumnSchema(ColumnType::UUID));
return new StringColumnSchema(ColumnType::UUID);
}

/**
Expand All @@ -219,7 +219,7 @@ public static function timestamp(int|null $size = 0): ColumnSchemaInterface
*/
public static function date(): ColumnSchemaInterface
{
return (new StringColumnSchema(ColumnType::DATE));
return new StringColumnSchema(ColumnType::DATE);
}

/**
Expand All @@ -236,6 +236,6 @@ public static function time(int|null $size = 0): ColumnSchemaInterface
*/
public static function json(): ColumnSchemaInterface
{
return (new JsonColumnSchema(ColumnType::JSON));
return new JsonColumnSchema(ColumnType::JSON);
}
}

0 comments on commit 096212b

Please sign in to comment.