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 393821c commit bb3ec9bCopy full SHA for bb3ec9b
tests/End2End/App/Command/CrashCommand.php
@@ -22,7 +22,7 @@ class CrashCommand extends Command
22
*/
23
private $subcommand;
24
25
- public function __construct(LoggerInterface $logger, string $subcommand = null)
+ public function __construct(LoggerInterface $logger, ?string $subcommand = null)
26
{
27
parent::__construct();
28
$this->logger = $logger;
tests/End2End/LoggingCommandTest.php
@@ -102,8 +102,9 @@ public function testExceptionLogsWithSubcommand(): void
102
}
103
104
/**
105
- * @param Log[] $logs
+ * @param Log[] $logs
106
* @param LogLevel $level
107
+ *
108
* @return Log|null
109
110
private function findOneByLevel(array $logs, LogLevel $level): ?Log
0 commit comments