You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Turbo/src/Bridge/Mercure/Broadcaster.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,7 @@ public function broadcast(object $entity, string $action, array $options): void
70
70
thrownew \InvalidArgumentException(sprintf('Cannot broadcast entity of class "%s" as option "rendered_action" is missing.', $entityClass));
71
71
}
72
72
73
-
if (!isset($options['topic']) && !isset($options['id'])) {
73
+
if (!isset($options['topics']) && !isset($options['id'])) {
74
74
thrownew \InvalidArgumentException(sprintf('Cannot broadcast entity of class "%s": either option "topics" or "id" is missing, or the PropertyAccess component is not installed. Try running "composer require property-access".', $entityClass));
0 commit comments