Skip to content

Commit ee4bef3

Browse files
committed
PHP 8.4: deprecation fixes
1 parent 194febd commit ee4bef3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MagentoComposerApplication.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ class MagentoComposerApplication
6565
public function __construct(
6666
$pathToComposerHome,
6767
$pathToComposerJson,
68-
Application $consoleApplication = null,
69-
ConsoleArrayInputFactory $consoleArrayInputFactory = null,
70-
BufferedOutput $consoleOutput = null
68+
?Application $consoleApplication = null,
69+
?ConsoleArrayInputFactory $consoleArrayInputFactory = null,
70+
?BufferedOutput $consoleOutput = null
7171
) {
7272
$this->consoleApplication = $consoleApplication ? $consoleApplication : new Application();
7373
$this->consoleArrayInputFactory = $consoleArrayInputFactory ? $consoleArrayInputFactory

0 commit comments

Comments
 (0)