Skip to content

Commit 69c38de

Browse files
authored
Merge pull request #101 from reelivate/develop
PHP 8.4 support
2 parents bc0d940 + 92e9075 commit 69c38de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Events/GuardEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class GuardEvent extends BaseEvent
2121
{
2222
private SymfonyGuardEvent $symfonyProxyEvent;
2323

24-
public function __construct(object $subject, Marking $marking, Transition $transition, WorkflowInterface $workflow = null)
24+
public function __construct(object $subject, Marking $marking, Transition $transition, ?WorkflowInterface $workflow = null)
2525
{
2626
parent::__construct($subject, $marking, $transition, $workflow);
2727

src/WorkflowRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class WorkflowRegistry
5757
*
5858
* @throws \ReflectionException
5959
*/
60-
public function __construct(array $config, array $registryConfig = null, EventsDispatcher $laravelDispatcher)
60+
public function __construct(array $config, ?array $registryConfig, EventsDispatcher $laravelDispatcher)
6161
{
6262
$this->registry = new Registry();
6363
$this->config = $config;

0 commit comments

Comments
 (0)