Skip to content

Commit fedb446

Browse files
committed
fix: implicit nullable
1 parent 14d73c7 commit fedb446

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CLI/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CLI
8787
*
8888
* @throws Exception
8989
*/
90-
public function __construct(Adapter $adapter = null, array $args = [])
90+
public function __construct(?Adapter $adapter = null, array $args = [])
9191
{
9292
if (\php_sapi_name() !== 'cli') {
9393
throw new Exception('CLI tasks can only work from the command line');

0 commit comments

Comments
 (0)