Skip to content

Commit

Permalink
Fixed issue with Laravel 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Krämer committed Jan 26, 2021
1 parent d6b235b commit 5ae1968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/HasCompositePrimaryKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ trait HasCompositePrimaryKey
/**
* Set the keys for a save update query.
*
* @param Builder $query
* @param mixed $query
* @return Builder
*/
protected function setKeysForSaveQuery(Builder $query)
protected function setKeysForSaveQuery($query)
{
$keys = $this->getKeyName();
if (!is_array($keys)) {
Expand Down

0 comments on commit 5ae1968

Please sign in to comment.