Skip to content

Commit faa54cf

Browse files
committed
Fix variable type error
1 parent fa0c8e1 commit faa54cf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/AsyncTask.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Vectorial1024\LaravelProcessAsync;
46

57
use Closure;
@@ -47,9 +49,9 @@ class AsyncTask
4749
* The name of the found timeout command inside GNU coreutils.
4850
*
4951
* It is known that older MacOS environments might have "gtimeout" instead of "timeout".
50-
* @var bool|null
52+
* @var string|null
5153
*/
52-
private static bool|null $timeoutCmdName = false;
54+
private static string|null $timeoutCmdName = null;
5355

5456
/**
5557
* Creates an AsyncTask instance.

0 commit comments

Comments
 (0)