Skip to content

Commit

Permalink
Fix collisions with other traits on Fillable Trait
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilrt committed Oct 6, 2019
1 parent 8b58602 commit 8e88d2d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Client/Traits/Fillable.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

trait Fillable
{
use Setter;

/**
* Mass assigment attributes
*
Expand All @@ -18,7 +16,7 @@ trait Fillable
public function fill(array $attributes)
{
foreach ($attributes as $name=>$value){
$this->__set($name,$value);
$this->$name=$value;
}
return $this;
}
Expand Down

0 comments on commit 8e88d2d

Please sign in to comment.