Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 14, 2020
2 parents 9df7718 + a284f90 commit ba376cf
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/Illuminate/Database/Eloquent/Concerns/HidesAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,6 @@ public function setHidden(array $hidden)
return $this;
}

/**
* Add hidden attributes for the model.
*
* @param array|string|null $attributes
* @return void
*/
public function addHidden($attributes = null)
{
$this->hidden = array_merge(
$this->hidden, is_array($attributes) ? $attributes : func_get_args()
);
}

/**
* Get the visible attributes for the model.
*
Expand Down

0 comments on commit ba376cf

Please sign in to comment.