Skip to content

Commit 5fa5f31

Browse files
laravel-ide-helpergithub-actions[bot]
authored andcommitted
composer fix-style
1 parent 970a10a commit 5fa5f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ModelsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ public function getPropertiesFromMethods($model)
729729
$pivot = $this->getClassNameInDestinationFile($model, $pivot);
730730

731731
if ($existingPivot = ($this->properties[$relationObj->getPivotAccessor()] ?? null)) {
732-
if(!str_contains($existingPivot['type'], $pivot . '|')) {
732+
if (!str_contains($existingPivot['type'], $pivot . '|')) {
733733
// If the pivot is already set, we need to append the type to it
734734
$pivot .= '|' . $existingPivot['type'];
735735
} else {

0 commit comments

Comments
 (0)