Skip to content

Commit

Permalink
Merge pull request #856 from openmultiplechoice/schu/docs-tinker
Browse files Browse the repository at this point in the history
docs/tinker: update "add user" example
  • Loading branch information
schu committed May 6, 2024
2 parents 6f5d918 + 9452725 commit f3eecab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tinker.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ php artisan tinker

```
$u = User::create(['name' => 'some', 'email' => 'some@example.com']);
$u->email_verified_at = now();
$u->password = Hash::make('some');
$u->save();
```
Expand Down

0 comments on commit f3eecab

Please sign in to comment.