Skip to content

Commit

Permalink
Fixed booting
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastiaanKloos committed Feb 10, 2022
1 parent c8b916b commit d3772e2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .idea/laravel-uuid.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Concerns/HasUuid.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function getKeyType()
return 'string';
}

public static function bootUuid()
public static function bootHasUuid()
{
static::creating(function ($model) {
if (empty($model->attributes[$model->getKeyName()])) {
Expand Down

0 comments on commit d3772e2

Please sign in to comment.