Skip to content
Permalink
Browse files

tests: Fix ECS warnings / errors

  • Loading branch information...
tarlepp committed May 26, 2019
1 parent 730fc11 commit f0f1aa066fff135e98d3719686cdcc348c4922c0
Showing with 2 additions and 3 deletions.
  1. +2 −2 src/DTO/RestDtoInterface.php
  2. +0 −1 src/EventSubscriber/BodySubscriber.php
@@ -39,14 +39,14 @@ public function setVisited(string $property): self;
/**
* Method to patch current dto with another one.
*
* @param RestDtoInterface $dto
* @param self|RestDtoInterface $dto
*
* @return RestDtoInterface
*
* @throws LogicException
* @throws BadMethodCallException
*/
public function patch(RestDtoInterface $dto): self;
public function patch(self $dto): self;
/**
* Method to load DTO data from specified entity.
@@ -13,7 +13,6 @@
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use function fstat;
use function in_array;
use function is_resource;

0 comments on commit f0f1aa0

Please sign in to comment.
You can’t perform that action at this time.