Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
cklei-carly authored and github-actions[bot] committed Aug 15, 2024
1 parent 39506f7 commit 52ba816
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/FieldTypes/Configs/Attributes/DbType.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace SolutionForest\FilamentFieldGroup\FieldTypes\Configs\Attributes;

use Attribute;

/**
* @property string $drive The drive of the database.
* @property string $type The type of the field in database.
Expand Down
2 changes: 1 addition & 1 deletion src/FieldTypes/Configs/Contracts/FieldTypeConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ public static function getConfigNames(): array;
*
* @return array<string,mixed> | array<string,array<string,mixed>>
*/
public static function getDbTypeMapping(string $drive = null): array;
public static function getDbTypeMapping(?string $drive = null): array;
}
2 changes: 1 addition & 1 deletion src/FieldTypes/Configs/FieldTypeBaseConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public static function getConfigNames(): array
}

/** {@inheritDoc} */
public static function getDbTypeMapping(string $drive = null): array
public static function getDbTypeMapping(?string $drive = null): array
{
$attributes = static::findFieldConfigAttribute(static::class, DbType::class);

Expand Down

0 comments on commit 52ba816

Please sign in to comment.