Skip to content

Commit

Permalink
style: latest cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Dec 29, 2023
1 parent 5de077e commit 3685010
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use Symfony\Component\Validator\ConstraintViolationListInterface;

/**
* Converts {@see \Symfony\Component\Validator\ConstraintViolationListInterface} to a JSON API error representation.
* Converts {@see ConstraintViolationListInterface} to a JSON API error representation.
*
* @author Héctor Hurtarte <[email protected]>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function create(string $resourceClass): ResourceMetadataCollection
foreach ($resourceMetadataCollection as $resource) {
$operations = $resource->getOperations();

/** @var \ApiPlatform\Metadata\HttpOperation $operation */
/** @var HttpOperation $operation */
foreach ($operations as $operation) {
// An item operation has been found, nothing to do anymore in this factory
if ((HttpOperation::METHOD_GET === $operation->getMethod() && !$operation instanceof CollectionOperationInterface) || ($operation->getExtraProperties()['is_legacy_resource_metadata'] ?? false)) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Behat/DoctrineContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -2168,7 +2168,7 @@ public function thereIsADummyWithSubEntity(string $strId, string $name): void
public function thereIsAGroupWithUuidAndNUsers(string $uuid, int $nbUsers): void
{
$group = new Group();
$group->setUuid(\Symfony\Component\Uid\Uuid::fromString($uuid));
$group->setUuid(SymfonyUuid::fromString($uuid));

$this->manager->persist($group);

Expand Down

0 comments on commit 3685010

Please sign in to comment.