Skip to content

Commit

Permalink
- some json features
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre Akay committed Sep 21, 2024
1 parent 1d7ced3 commit 428f6f1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Traits/Flexy.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,12 @@ public static function bootFlexy(): void
}

public static function setFlexyShape(
string $fieldName, FlexyFieldType $fieldType,
int $sort,
string $fieldName, FlexyFieldType $fieldType,
int $sort,
?string $validationRules = null,
?array $validationMessages = null,
?array $fieldMetadata = []
): Shape
{
?array $validationMessages = null,
?array $fieldMetadata = []
): Shape {
$modelType = static::getModelType();

return Shape::updateOrCreate(
Expand Down

0 comments on commit 428f6f1

Please sign in to comment.