From d3772e2e675f6c7d438b20cd30642aee9d9bc277 Mon Sep 17 00:00:00 2001 From: Sebastiaan Kloos Date: Thu, 10 Feb 2022 15:17:44 +0100 Subject: [PATCH] Fixed booting --- .idea/laravel-uuid.iml | 6 +++++- .idea/php.xml | 4 ++++ .idea/vcs.xml | 6 ++++++ src/Concerns/HasUuid.php | 2 +- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .idea/php.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/laravel-uuid.iml b/.idea/laravel-uuid.iml index c956989..c83ee63 100644 --- a/.idea/laravel-uuid.iml +++ b/.idea/laravel-uuid.iml @@ -1,7 +1,11 @@ - + + + + + diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..4bf4979 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/Concerns/HasUuid.php b/src/Concerns/HasUuid.php index f6f3b80..7e8b118 100644 --- a/src/Concerns/HasUuid.php +++ b/src/Concerns/HasUuid.php @@ -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()])) {