From 7fa071dad2e0e332d8adca3e87ef32b6c561ce61 Mon Sep 17 00:00:00 2001 From: riccardodallavia Date: Fri, 10 Jun 2022 15:58:45 +0200 Subject: [PATCH] wip --- README.md | 2 +- src/PrunableFields.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e72b697..de14ef9 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ class User extends Model logger()->warning("User {$this->getKey()} is being pruned"); } - protected function prunedFields() + protected function prunedFields(): void { logger()->warning("User {$this->getKey()} has been pruned"); } diff --git a/src/PrunableFields.php b/src/PrunableFields.php index b70275f..b3c50fa 100755 --- a/src/PrunableFields.php +++ b/src/PrunableFields.php @@ -54,7 +54,7 @@ protected function pruningFields(): void // } - protected function prunedFields() + protected function prunedFields(): void { // }