@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor; |
| 15 | 15 | |
| 16 | - if (!\interface_exists(NamedArgumentConstructorAnnotation::class)) { |
|
| 16 | + if (!\interface_exists(NamedArgumentConstructorAnnotation::class)){ |
|
| 17 | 17 | /** |
| 18 | 18 | * Marker interface for PHP7/PHP8 compatible support for named |
| 19 | 19 | * arguments (and constructor property promotion). |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | namespace Doctrine\Common\Annotations\Annotation { |
| 33 | 33 | |
| 34 | - if (!\class_exists(NamedArgumentConstructor::class, false)) { |
|
| 34 | + if (!\class_exists(NamedArgumentConstructor::class, false)){ |
|
| 35 | 35 | /** |
| 36 | 36 | * Annotation that indicates that the annotated class should be |
| 37 | 37 | * constructed with a named argument call. |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | use JetBrains\PhpStorm\ExpectedValues; |
| 53 | 53 | |
| 54 | - if (!\class_exists(Attribute::class, false)) { |
|
| 54 | + if (!\class_exists(Attribute::class, false)){ |
|
| 55 | 55 | #[Attribute(Attribute::TARGET_CLASS)] |
| 56 | 56 | final class Attribute |
| 57 | 57 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | public function __construct( |
| 128 | 128 | #[ExpectedValues(flagsFromClass: Attribute::class)] |
| 129 | 129 | int $flags = self::TARGET_ALL |
| 130 | - ) { |
|
| 130 | + ){ |
|
| 131 | 131 | } |
| 132 | 132 | } |
| 133 | 133 | } |
@@ -13,7 +13,8 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | use Doctrine\Common\Annotations\Annotation\NamedArgumentConstructor; |
| 15 | 15 | |
| 16 | - if (!\interface_exists(NamedArgumentConstructorAnnotation::class)) { |
|
| 16 | + if (!\interface_exists(NamedArgumentConstructorAnnotation::class)) |
|
| 17 | + { |
|
| 17 | 18 | /** |
| 18 | 19 | * Marker interface for PHP7/PHP8 compatible support for named |
| 19 | 20 | * arguments (and constructor property promotion). |
@@ -31,7 +32,8 @@ discard block |
||
| 31 | 32 | |
| 32 | 33 | namespace Doctrine\Common\Annotations\Annotation { |
| 33 | 34 | |
| 34 | - if (!\class_exists(NamedArgumentConstructor::class, false)) { |
|
| 35 | + if (!\class_exists(NamedArgumentConstructor::class, false)) |
|
| 36 | + { |
|
| 35 | 37 | /** |
| 36 | 38 | * Annotation that indicates that the annotated class should be |
| 37 | 39 | * constructed with a named argument call. |
@@ -51,7 +53,8 @@ discard block |
||
| 51 | 53 | |
| 52 | 54 | use JetBrains\PhpStorm\ExpectedValues; |
| 53 | 55 | |
| 54 | - if (!\class_exists(Attribute::class, false)) { |
|
| 56 | + if (!\class_exists(Attribute::class, false)) |
|
| 57 | + { |
|
| 55 | 58 | #[Attribute(Attribute::TARGET_CLASS)] |
| 56 | 59 | final class Attribute |
| 57 | 60 | { |