composer fix-style

This commit is contained in:
laravel-ide-helper
2024-10-18 14:40:37 +00:00
committed by github-actions[bot]
parent 0831b7e8e5
commit d7817ec017
-1
View File
@@ -714,7 +714,6 @@ class ModelsCommand extends Command
if ($relationObj instanceof BelongsToMany) { if ($relationObj instanceof BelongsToMany) {
$pivot = get_class($relationObj->newPivot()); $pivot = get_class($relationObj->newPivot());
if (!in_array($pivot, [Pivot::class, MorphPivot::class])) { if (!in_array($pivot, [Pivot::class, MorphPivot::class])) {
$pivot = $this->getClassNameInDestinationFile($model, $pivot); $pivot = $this->getClassNameInDestinationFile($model, $pivot);
if ($existingPivot = ($this->properties[$relationObj->getPivotAccessor()] ?? null)) { if ($existingPivot = ($this->properties[$relationObj->getPivotAccessor()] ?? null)) {