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 Feb 15, 2024
1 parent 861996a commit 62ae8d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ParameterDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function hasValue(): bool

public function resolve(ContainerInterface $container): mixed
{
/** @var ReflectionNamedType|ReflectionUnionType|ReflectionIntersectionType|null $type */
/** @var ReflectionIntersectionType|ReflectionNamedType|ReflectionUnionType|null $type */
$type = $this->parameter->getType();

Check failure on line 51 in src/ParameterDefinition.php

View workflow job for this annotation

GitHub Actions / psalm80 / PHP 8.0-ubuntu-latest

UndefinedDocblockClass

src/ParameterDefinition.php:51:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named ReflectionIntersectionType does not exist (see https://psalm.dev/200)

if ($type instanceof ReflectionUnionType) {
Expand Down Expand Up @@ -147,7 +147,7 @@ private function resolveUnionType(ContainerInterface $container): mixed
$parameterType = $this->parameter->getType();

/**
* @var ReflectionNamedType[]|ReflectionIntersectionType[] $types
* @var ReflectionIntersectionType[]|ReflectionNamedType[] $types
*/
$types = $parameterType->getTypes();

Check failure on line 152 in src/ParameterDefinition.php

View workflow job for this annotation

GitHub Actions / psalm80 / PHP 8.0-ubuntu-latest

UndefinedDocblockClass

src/ParameterDefinition.php:152:9: UndefinedDocblockClass: Docblock-defined class, interface or enum named ReflectionIntersectionType does not exist (see https://psalm.dev/200)
$class = implode('|', $types);
Expand Down

0 comments on commit 62ae8d2

Please sign in to comment.