Skip to content

Commit c154a74

Browse files
A couple more PHP 8.4 fixes
1 parent b10b6b7 commit c154a74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Helpers/CommandCoverageReport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct(ConfigInterface $config, ConsoleIO $io)
6767
$this->io = $io;
6868
}
6969

70-
public static function factory(OutputInterface $output = null)
70+
public static function factory(?OutputInterface $output = null)
7171
{
7272
$input = new ArgvInput($_SERVER['argv']);
7373
$output = new ConsoleOutput();

src/Terminus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ private function addPluginsCommandsAndHooks()
493493
*
494494
* @return integer $status_code The exiting status code of the application
495495
*/
496-
public function run(InputInterface $input = null, OutputInterface $output = null)
496+
public function run(?InputInterface $input = null, ?OutputInterface $output = null)
497497
{
498498
if ($input === null) {
499499
$input = $this->input();

0 commit comments

Comments
 (0)