diff options
author | Remi Collet <remi@remirepo.net> | 2019-08-29 14:07:03 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-08-29 14:07:03 +0200 |
commit | 0422cffca6eed01c20e0165691dd08fa47aea762 (patch) | |
tree | 55d2ef4b7c81a6f2c7e8808049b9e05806a2af75 | |
parent | c173ef161315ece3d936ca84de4b14b9c9712f3c (diff) |
simpler patch
-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 + |