Skip to content

Commit fc273f8

Browse files
committed
Set MessageBag on construct
1 parent 3d901ab commit fc273f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Repositories/AbstractRepository.php

+2
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ abstract class AbstractRepository implements RepositoryContract
103103
*/
104104
public function __construct()
105105
{
106+
$this->errors = new MessageBag;
107+
106108
$this->makeModel();
107109
$this->boot();
108110
}

0 commit comments

Comments
 (0)