Skip to content

Commit

Permalink
remove type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 29, 2020
1 parent 72bf073 commit 1b3f62a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static function fromRawAttributes(Model $parent, $attributes, $table, $ex
* @param \Illuminate\Database\Eloquent\Builder $query
* @return \Illuminate\Database\Eloquent\Builder
*/
protected function setKeysForSaveQuery(Builder $query)
protected function setKeysForSaveQuery($query)
{
if (isset($this->attributes[$this->getKeyName()])) {
return parent::setKeysForSaveQuery($query);
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/MorphPivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class MorphPivot extends Pivot
* @param \Illuminate\Database\Eloquent\Builder $query
* @return \Illuminate\Database\Eloquent\Builder
*/
protected function setKeysForSaveQuery(Builder $query)
protected function setKeysForSaveQuery($query)
{
$query->where($this->morphType, $this->morphClass);

Expand Down

0 comments on commit 1b3f62a

Please sign in to comment.