Skip to content

Commit 9cf8b81

Browse files
Fix deprecation issue
1 parent edc63f0 commit 9cf8b81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Backup/Cli.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ abstract class Cli
4646
* Cli constructor.
4747
*
4848
* @param \SebastianFeldmann\Cli\Command\Runner $runner
49-
* @param int $time
49+
* @param int|null $time
5050
*/
51-
public function __construct(Runner $runner = null, $time = null)
51+
public function __construct(Runner $runner = null, ?int $time = null)
5252
{
5353
$this->runner = $runner ? : new Runner\Simple(new Symfony());
5454
$this->time = $time ? : time();

0 commit comments

Comments
 (0)