Skip to content

Commit 1021ae2

Browse files
committed
minor symfony#58795 Definition::$class may not be class-string (janedbal)
This PR was submitted for the 7.2 branch but it was merged into the 6.4 branch instead. Discussion ---------- `Definition::$class` may not be `class-string` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | none | License | MIT [Example](https://github.com/php-amqplib/RabbitMqBundle/blob/fc816b77d3dee4045f8044b70059942832b079b3/DependencyInjection/OldSoundRabbitMqExtension.php#L214) of non-class-string usage. Commits ------- 4afb630 Definition::$class may not be class-string
2 parents 7e1af9f + 4afb630 commit 1021ae2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Symfony/Component/DependencyInjection/Definition.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ public function setClass(?string $class): static
180180

181181
/**
182182
* Gets the service class.
183-
*
184-
* @return class-string|null
185183
*/
186184
public function getClass(): ?string
187185
{

0 commit comments

Comments
 (0)