Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
  • Loading branch information
Tigrov and vjik authored Aug 9, 2024
1 parent da871f8 commit f43c39c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Constant/GettypeResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @link https://www.php.net/manual/en/function.gettype.php
*/
class GettypeResult
final class GettypeResult
{
/**
* Define the php type as `array`.
Expand Down
2 changes: 1 addition & 1 deletion src/Constant/PhpType.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @see ColumnSchemaInterface::getPhpType()
* @see https://www.php.net/manual/en/language.types.type-system.php
*/
class PhpType
final class PhpType
{
/**
* Define the php type as `array`.
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 @@ -184,6 +184,7 @@ public function getPrecision(): int|null;
* Returns the PHP type of the column. Used for generating properties of a related model class.
*
* @return string The PHP type of the column.
* @psalm-return PhpType::*
*
* @see PhpType
*/
Expand Down

0 comments on commit f43c39c

Please sign in to comment.