File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -138,8 +138,6 @@ public function getSecurityMessage(): ?string
138
138
return $ this ->securityMessage ;
139
139
}
140
140
141
-
142
-
143
141
public function withSecurity (?string $ security ): self
144
142
{
145
143
$ self = clone $ this ;
@@ -156,7 +154,6 @@ public function withSecurityMessage(?string $securityMessage): self
156
154
return $ self ;
157
155
}
158
156
159
-
160
157
public function withLink (self $ link ): self
161
158
{
162
159
$ self = clone $ this ;
Original file line number Diff line number Diff line change 14
14
namespace ApiPlatform \Symfony \EventListener ;
15
15
16
16
use ApiPlatform \Api \UriVariablesConverterInterface ;
17
- use ApiPlatform \Doctrine \Orm \State \ItemProvider ;
18
17
use ApiPlatform \Exception \InvalidIdentifierException ;
19
18
use ApiPlatform \Exception \InvalidUriVariableException ;
20
19
use ApiPlatform \Metadata \HttpOperation ;
21
20
use ApiPlatform \Metadata \Put ;
22
- use ApiPlatform \Metadata \Get ;
23
21
use ApiPlatform \Metadata \Link ;
24
- use ApiPlatform \Metadata \Resource \Factory \OperationDefaultsTrait ;
25
22
use ApiPlatform \Metadata \Resource \Factory \ResourceMetadataCollectionFactoryInterface ;
26
23
use ApiPlatform \Serializer \SerializerContextBuilderInterface ;
27
24
use ApiPlatform \State \ProviderInterface ;
@@ -124,7 +121,6 @@ public function onKernelRequest(RequestEvent $event): void
124
121
}
125
122
}
126
123
127
-
128
124
$ request ->attributes ->set ('data ' , $ data );
129
125
$ request ->attributes ->set ('previous_data ' , $ this ->clone ($ data ));
130
126
}
You can’t perform that action at this time.
0 commit comments