- Fixed nullable errors after forced typing

This commit is contained in:
Dave Mc Nicoll 2023-11-07 11:12:20 -05:00
parent a552a6675e
commit d94ee83230
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ abstract class Handler {
public bool $registerFatalErrorHandler = true; public bool $registerFatalErrorHandler = true;
protected Closure $callback; protected ? Closure $callback;
protected Transport\TransportInterface $transport; protected Transport\TransportInterface $transport;

View File

@ -6,7 +6,7 @@ use Negundo\Client\DataInterface;
class DumpHandler { class DumpHandler {
public DataInterface $dataManipulator; public ? DataInterface $dataManipulator;
public function __construct(DataInterface $dataManipulator = null) public function __construct(DataInterface $dataManipulator = null)
{ {

View File

@ -6,7 +6,7 @@ use Negundo\Client\DataInterface;
class TaskHandler { class TaskHandler {
public DataInterface $dataManipulator; public ? DataInterface $dataManipulator;
public function __construct(DataInterface $dataManipulator = null) public function __construct(DataInterface $dataManipulator = null)
{ {