Skip to content

Commit 9ce8b6d

Browse files
committed
chore(CS): fix CS
1 parent 29f9937 commit 9ce8b6d

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/Metadata/Link.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ public function getSecurityMessage(): ?string
138138
return $this->securityMessage;
139139
}
140140

141-
142-
143141
public function withSecurity(?string $security): self
144142
{
145143
$self = clone $this;
@@ -156,7 +154,6 @@ public function withSecurityMessage(?string $securityMessage): self
156154
return $self;
157155
}
158156

159-
160157
public function withLink(self $link): self
161158
{
162159
$self = clone $this;

src/Symfony/EventListener/ReadListener.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
namespace ApiPlatform\Symfony\EventListener;
1515

1616
use ApiPlatform\Api\UriVariablesConverterInterface;
17-
use ApiPlatform\Doctrine\Orm\State\ItemProvider;
1817
use ApiPlatform\Exception\InvalidIdentifierException;
1918
use ApiPlatform\Exception\InvalidUriVariableException;
2019
use ApiPlatform\Metadata\HttpOperation;
2120
use ApiPlatform\Metadata\Put;
22-
use ApiPlatform\Metadata\Get;
2321
use ApiPlatform\Metadata\Link;
24-
use ApiPlatform\Metadata\Resource\Factory\OperationDefaultsTrait;
2522
use ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface;
2623
use ApiPlatform\Serializer\SerializerContextBuilderInterface;
2724
use ApiPlatform\State\ProviderInterface;
@@ -124,7 +121,6 @@ public function onKernelRequest(RequestEvent $event): void
124121
}
125122
}
126123

127-
128124
$request->attributes->set('data', $data);
129125
$request->attributes->set('previous_data', $this->clone($data));
130126
}

0 commit comments

Comments
 (0)