Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 2, 2023
1 parent 2d683fc commit b879b84
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Configurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ public function initFields(EntitySchema $entity, \ReflectionClass $class, string
public function initRelations(EntitySchema $entity, \ReflectionClass $class): void
{
foreach ($class->getProperties() as $property) {

$metadata = $this->getPropertyMetadata($property, RelationAnnotation\RelationInterface::class);

foreach ($metadata as $meta) {
Expand Down Expand Up @@ -339,9 +338,9 @@ private function resolveTypecast(mixed $typecast, \ReflectionClass $class): mixe
*
* @param class-string<T>|null
*
* @return iterable<T>
*
* @throws AnnotationException
*
* @return iterable<T>
*/
private function getClassMetadata(\ReflectionClass $class, string $name): iterable
{
Expand All @@ -357,9 +356,9 @@ private function getClassMetadata(\ReflectionClass $class, string $name): iterab
*
* @param class-string<T>|null $name
*
* @return iterable<T>
*
* @throws AnnotationException
*
* @return iterable<T>
*/
private function getPropertyMetadata(\ReflectionProperty $property, string $name): iterable
{
Expand Down

0 comments on commit b879b84

Please sign in to comment.