Skip to content

Commit c4d3419

Browse files
committed
fixing tests
1 parent 8815348 commit c4d3419

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Turbo/Doctrine/BroadcastListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ private function storeEntitiesToPublish(EntityManagerInterface $em, object $enti
129129

130130
if (\PHP_VERSION_ID >= 80000 && $options = ($r = new \ReflectionClass($class))->getAttributes(Broadcast::class)) {
131131
$options = $options[0]->newInstance();
132-
// @phpstan-ignore-next-line
133132
$this->broadcastedClasses[$class] = $options->options;
134133
} elseif ($this->annotationReader && $options = $this->annotationReader->getClassAnnotation($r ?? new \ReflectionClass($class), Broadcast::class)) {
135134
$this->broadcastedClasses[$class] = $options->options;

src/Turbo/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"require-dev": {
4343
"doctrine/annotations": "^1.12",
4444
"doctrine/doctrine-bundle": "^2.2",
45-
"doctrine/orm": "~2.8.0",
45+
"doctrine/orm": "^2.8.0",
4646
"phpstan/phpstan": "^0.12",
4747
"symfony/debug-bundle": "^5.2",
4848
"symfony/form": "^5.2",

0 commit comments

Comments
 (0)