Commit 3b5af930 authored by Taylor Otwell's avatar Taylor Otwell

Return the Eloquent model instance in the fill method.

parent 2e343095
......@@ -100,7 +100,7 @@ abstract class Model {
* Set the attributes of the model using an array.
*
* @param array $attributes
* @return void
* @return Model
*/
public function fill($attributes)
{
......@@ -108,6 +108,8 @@ abstract class Model {
{
$this->$key = $value;
}
return $this;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment