Skip to content

Commit 5917758

Browse files
committed
PHPCS Fixer
1 parent 6cc63c6 commit 5917758

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/Exceptions/IncorrectRelationshipFormat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static function create(string $key, string $value)
1616
{
1717
return new static(
1818
"Incorrect relationship attribute value [{$value}] for a key [{$key}]. Please make sure that array " .
19-
"returned by getPropertyMap function is in the following format: \"relationship.attribute\"."
19+
'returned by getPropertyMap function is in the following format: "relationship.attribute".'
2020
);
2121
}
2222
}

src/Exceptions/InvalidRelationshipName.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static function create(string $key, string $value)
1616
{
1717
return new static(
1818
"Invalid relationship name [{$value}] for a key [{$key}] in array returned by getPropertyMap function. " .
19-
"Please make sure that this relationship is defined on the model."
19+
'Please make sure that this relationship is defined on the model.'
2020
);
2121
}
2222
}

src/Exceptions/UnsupportedNestedRelationship.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public static function create(string $key, string $value)
1616
{
1717
return new static(
1818
"Unsupported nested relationship attribute value [{$value}] for a key [{$key}]. Please make sure that " .
19-
"array returned by getPropertyMap function is in the following format: \"relationship.attribute\" and is " .
20-
"only one level deep."
19+
'array returned by getPropertyMap function is in the following format: "relationship.attribute" and is ' .
20+
'only one level deep.'
2121
);
2222
}
2323
}

src/NovaInlineRelationshipServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Laravel\Nova\Nova;
66
use Laravel\Nova\Fields\Field;
7-
use Laravel\Nova\Events\ServingNova;
87
use Illuminate\Support\ServiceProvider;
98
use KirschbaumDevelopment\NovaInlineRelationship\Helpers\NovaInlineRelationshipHelper;
109
use KirschbaumDevelopment\NovaInlineRelationship\Exceptions\UnsupportedRelationshipType;

0 commit comments

Comments
 (0)