Skip to content

Commit 7ddc668

Browse files
committed
Fix a notice
1 parent 1bc246f commit 7ddc668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Actors/ActorConfig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function __construct(
4949
*/
5050
public function get_actor_type_from_dapr_type(string $dapr_type): string|null
5151
{
52-
if($this->actor_name_to_type[$dapr_type]) return $this->actor_name_to_type[$dapr_type];
52+
if($this->actor_name_to_type[$dapr_type] ?? false) return $this->actor_name_to_type[$dapr_type];
5353

5454
$actors = array_combine($this->get_supported_actors(), $this->actor_name_to_type);
5555

0 commit comments

Comments
 (0)