Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow User model instantiation with
new User(['id' => $id])
We use this syntax for sending notifications without requerying the database. Also, we don't use $request->all() for anything user-related anymore so we should be safe to allow all attributes to be mass filled.
- Loading branch information