diff --git a/system/db/eloquent/model.php b/system/db/eloquent/model.php index 8e8c9fb8..0b0a2046 100644 --- a/system/db/eloquent/model.php +++ b/system/db/eloquent/model.php @@ -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; } /**