We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d39ab1 commit b9df728Copy full SHA for b9df728
src/Manager.php
@@ -17,9 +17,9 @@ class Manager
17
* @throws Exception
18
* @throws \Exception
19
*/
20
- public function run(?Settings $settings = null)
+ public function run($settings = null)
21
{
22
- $settings = $settings ?: new Settings;
+ $settings = ($settings instanceof Settings) ? $settings : new Settings();
23
$output = $this->output ?: $this->getDefaultOutput($settings);
24
25
$phpExecutable = PhpExecutable::getPhpExecutable($settings->phpExecutable);
0 commit comments