Browse Source

Remove coalesce operator

Remove strict types declaration
nostromo
Tobias Lode 7 years ago
parent
commit
66191b7088
  1. 2
      tests/Runtime/RuntimeMockup.php
  2. 2
      tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php

2
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;
}
/**

2
tests/Task/BuiltIn/Symfony/AsseticDumpTaskTest.php

@ -1,4 +1,4 @@
<?php declare(strict_types=1);
<?php
namespace Mage\tests\Task\BuiltIn\Symfony;

Loading…
Cancel
Save