From ca03900fdd660a3b37ca41db0736a2e3db4aa63c Mon Sep 17 00:00:00 2001 From: Tu Van Date: Tue, 22 Aug 2023 22:20:58 +0700 Subject: [PATCH] Correct return type for the apply() method --- Setup/Patch/SimpleDataPatch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Setup/Patch/SimpleDataPatch.php b/Setup/Patch/SimpleDataPatch.php index 8c3e1d3..fac7cc1 100644 --- a/Setup/Patch/SimpleDataPatch.php +++ b/Setup/Patch/SimpleDataPatch.php @@ -58,5 +58,5 @@ public function getAliases(): array /** * Call your patch updates within this function. */ - abstract public function apply(): self; + abstract public function apply(): DataPatchInterface; }