diff options
-rw-r--r-- | 1603.patch | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -From 5843afa20a3e9d39580d710dd927736c747ad47b Mon Sep 17 00:00:00 2001 +From ec5877cd9c46b3723cf34e21c5dc9c3147e682e4 Mon Sep 17 00:00:00 2001 From: Remi Collet <remi@remirepo.net> Date: Thu, 29 Aug 2019 13:39:59 +0200 Subject: [PATCH] Fix: Trying to access array offset on value of type bool @@ -8,7 +8,7 @@ Subject: [PATCH] Fix: Trying to access array offset on value of type bool 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Phinx/Migration/Manager.php b/src/Phinx/Migration/Manager.php -index 8b7040a05..9cea06674 100644 +index 8b7040a0..b9488a0d 100644 --- a/src/Phinx/Migration/Manager.php +++ b/src/Phinx/Migration/Manager.php @@ -206,8 +206,8 @@ public function printStatus($environment, $format = null) @@ -17,8 +17,11 @@ index 8b7040a05..9cea06674 100644 $migration->getVersion(), - $version['start_time'], - $version['end_time'], -+ ($version ? $version['start_time'] : ''), -+ ($version ? $version['end_time'] : ''), ++ ($version['start_time'] ?? ''), ++ ($version['end_time'] ?? ''), $migration->getName() )); +-- +2.20.1 + |