Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Sep 29, 2024
1 parent 1f55c0d commit 4cfe936
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Relations/HasManyJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ public function pivotAttributes(Model $model, Model $parent, array $records)
public function getPathName()
{
/** @var string $pathName */
$pathName = last(explode('.', $this->path));
$pathName = last(
explode('.', $this->path)
);

return $pathName;
}
Expand Down

0 comments on commit 4cfe936

Please sign in to comment.