Skip to content

Commit bce0fbe

Browse files
authored
Maintenance on CodeBase (#225)
1 parent 3abc575 commit bce0fbe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

QueryMessageBus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(MessageBusInterface $queryBus)
3636
/**
3737
* Handle the Query and return the results.
3838
*/
39-
public function handle(object $query)
39+
public function handle(object $query): mixed
4040
{
4141
return $this->handleQuery($query);
4242
}

Tests/Command/AbstractOptionsResolverCommandMessageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,6 @@ public function testMagicMethodIssetWorks(): void
6262
'id' => 'unique-id',
6363
]);
6464

65-
$this->assertTrue(isset($command->id));
65+
$this->assertTrue($command->__isset('id'));
6666
}
6767
}

0 commit comments

Comments
 (0)