Skip to content

Commit 536f8b1

Browse files
committed
minor
1 parent 95492e5 commit 536f8b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Turbo/src/Doctrine/BroadcastListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ private function storeEntitiesToPublish(EntityManagerInterface $em, object $enti
132132
$this->broadcastedClasses[$class] = [];
133133
$r = null;
134134

135-
if (\PHP_VERSION_ID >= 80000 && $options = ($r = new \ReflectionClass($class))->getAttributes(Broadcast::class)) {
135+
if ($options = ($r = new \ReflectionClass($class))->getAttributes(Broadcast::class)) {
136136
foreach ($options as $option) {
137137
$this->broadcastedClasses[$class][] = $option->newInstance()->options;
138138
}

0 commit comments

Comments
 (0)