From 66191b7088e7748930ad6f83f933cd89add0aa11 Mon Sep 17 00:00:00 2001 From: Tobias Lode Date: Mon, 29 May 2017 10:38:58 +0200 Subject: [PATCH] Remove coalesce operator Remove strict types declaration --- tests/Runtime/RuntimeMockup.php | 2 +- tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Runtime/RuntimeMockup.php b/tests/Runtime/RuntimeMockup.php index e5377b4..65b6c32 100644 --- a/tests/Runtime/RuntimeMockup.php +++ b/tests/Runtime/RuntimeMockup.php @@ -26,7 +26,7 @@ class RuntimeMockup extends Runtime public function getRanCommandTimeoutFor($cmd) { - return $this->ranCommandTimeouts[$cmd] ?? null; + return isset($this->ranCommandTimeouts[$cmd]) ? $this->ranCommandTimeouts[$cmd] : null; } /** diff --git a/tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php b/tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php index b481f47..e1f694e 100644 --- a/tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php +++ b/tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php @@ -1,4 +1,4 @@ -