Skip to content

Commit

Permalink
Merge branch 'develop' into wip/laravel-style-relations
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo authored Jul 30, 2024
2 parents e48418b + 339af87 commit abcf7ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/Database/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,6 @@ public function newRelationPivot($relationName, $parent, $attributes, $table, $e
{
$relation = $this->{$relationName}();
$pivotModel = $relation->getPivotClass();

return $pivotModel::fromRawAttributes($parent, $attributes, $table, $exists);
}

Expand Down
2 changes: 1 addition & 1 deletion src/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public function after($callback)
*/
public function error(Closure $callback)
{
$this->make('Illuminate\Contracts\Debug\ExceptionHandler')->error($callback);
$this->make('Illuminate\Contracts\Debug\ExceptionHandler')->error($callback); // @phpstan-ignore-line
}

/**
Expand Down

0 comments on commit abcf7ee

Please sign in to comment.