Skip to content

Commit

Permalink
Merge pull request #2339 from FriendsOfSymfony/cs
Browse files Browse the repository at this point in the history
Fix some cs issue for which the build was not green
  • Loading branch information
goetas committed Oct 15, 2021
2 parents a2e5a93 + 4ebfbdb commit 9e8e14f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ErrorRenderer/SerializerErrorRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function render(\Throwable $exception): FlattenException
];

return $flattenException->setAsString($this->serializer->serialize($flattenException, $format, $context))->setHeaders($flattenException->getHeaders() + $headers);
} catch (NotEncodableValueException | UnsupportedFormatException $e) {
} catch (NotEncodableValueException|UnsupportedFormatException $e) {
return $this->fallbackErrorRenderer->render($exception);
}
}
Expand Down
2 changes: 0 additions & 2 deletions Negotiation/FormatNegotiator.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

/**
* @author Guilhem Niot <guilhem@gniot.fr>
*
* @final since 2.8
*/
final class FormatNegotiator extends BaseNegotiator
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ParamFetcherUnionTypeController extends ParamFetcherController
{
/**
* Make sure the ParamFetcher can be injected according to the mixed typehint.
*/
*/
public function byUnionTypeAction(ParamFetcher|ParamFetcherInterface $pfu)
{
}
Expand Down

0 comments on commit 9e8e14f

Please sign in to comment.