From b80a1d0562c6fa1c884dcc768b9a4a8f5af471c4 Mon Sep 17 00:00:00 2001 From: Vladislav Slesarenko Date: Thu, 29 Feb 2024 12:37:49 +0300 Subject: [PATCH] Fix php fatal error for not initialized property "Fatal Error: Typed property Phalcon\Migrations\Version\IncrementalItem::$path must not be accessed before initialization" --- src/Version/IncrementalItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Version/IncrementalItem.php b/src/Version/IncrementalItem.php index a6f0b98..57521ba 100644 --- a/src/Version/IncrementalItem.php +++ b/src/Version/IncrementalItem.php @@ -37,7 +37,7 @@ class IncrementalItem implements ItemInterface /** * @var string */ - private string $path; + private string $path = ''; /** * @var string