-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I somehow thought I had a green build for the ORM after e70bc39, but I really didn't.
- Loading branch information
Showing
3 changed files
with
88 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ | |
namespace Doctrine\Persistence\Reflection; | ||
|
||
use BackedEnum; | ||
use ReflectionClass; | ||
use ReflectionProperty; | ||
use ReflectionType; | ||
use ReturnTypeWillChange; | ||
|
||
use function array_map; | ||
|
@@ -30,6 +32,42 @@ public function __construct(ReflectionProperty $originalReflectionProperty, stri | |
$this->enumType = $enumType; | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
* @psalm-immutable | ||
*/ | ||
public function getDeclaringClass(): ReflectionClass | ||
Check failure on line 40 in src/Persistence/Reflection/EnumReflectionProperty.php GitHub Actions / Static Analysis / Psalm (8.2)MissingImmutableAnnotation
|
||
{ | ||
return $this->originalReflectionProperty->getDeclaringClass(); | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
* @psalm-immutable | ||
*/ | ||
public function getName(): string | ||
Check failure on line 50 in src/Persistence/Reflection/EnumReflectionProperty.php GitHub Actions / Static Analysis / Psalm (8.2)MissingImmutableAnnotation
|
||
{ | ||
return $this->originalReflectionProperty->getName(); | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
* @psalm-immutable | ||
*/ | ||
public function getType(): ?ReflectionType | ||
Check failure on line 60 in src/Persistence/Reflection/EnumReflectionProperty.php GitHub Actions / Static Analysis / Psalm (8.2)MissingImmutableAnnotation
|
||
{ | ||
return $this->originalReflectionProperty->getType(); | ||
} | ||
|
||
/** @psalm-immutable */ | ||
public function getAttributes(?string $name = null, int $flags = 0): array | ||
Check failure on line 66 in src/Persistence/Reflection/EnumReflectionProperty.php GitHub Actions / Coding Standards / Coding Standards (8.2)
|
||
{ | ||
return $this->originalReflectionProperty->getAttributes($name, $flags); | ||
} | ||
|
||
/** | ||
* {@inheritDoc} | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters