@@ -227,7 +227,7 @@ |
||
| 227 | 227 | * @param string $actionName |
| 228 | 228 | * @param string $path |
| 229 | 229 | * @param string $action |
| 230 | - * @param array $methods |
|
| 230 | + * @param string[] $methods |
|
| 231 | 231 | * @param array $options |
| 232 | 232 | * |
| 233 | 233 | * @return Definition |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | use ScayTrase\Api\Cruds\PublicPropertyMapper; |
| 11 | 11 | use ScayTrase\Api\Cruds\ReferenceProviderInterface; |
| 12 | 12 | use ScayTrase\Api\Cruds\Tests\Fixtures\AbcClass; |
| 13 | -use ScayTrase\Api\Cruds\Tests\Unit\AbstractControllerTest; |
|
| 14 | 13 | use Symfony\Component\EventDispatcher\Event; |
| 15 | 14 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 16 | 15 | |
@@ -49,6 +49,9 @@ discard block |
||
| 49 | 49 | self::assertSame(3, $controller->countAction(['a' => [1, 2, 4]])); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param integer $a |
|
| 54 | + */ |
|
| 52 | 55 | private function createFixture($a, $b, $c) |
| 53 | 56 | { |
| 54 | 57 | $entity = new AbcClass(); |
@@ -60,7 +63,7 @@ discard block |
||
| 60 | 63 | } |
| 61 | 64 | |
| 62 | 65 | /** |
| 63 | - * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 66 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 64 | 67 | */ |
| 65 | 68 | private function getReferenceProvider() |
| 66 | 69 | { |
@@ -96,6 +96,9 @@ discard block |
||
| 96 | 96 | self::assertSame([$f1, $f2, $f3, $f4], $result->toArray()); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | + /** |
|
| 100 | + * @param integer $a |
|
| 101 | + */ |
|
| 99 | 102 | private function createFixture($a, $b, $c) |
| 100 | 103 | { |
| 101 | 104 | $entity = new AbcClass(); |
@@ -107,7 +110,7 @@ discard block |
||
| 107 | 110 | } |
| 108 | 111 | |
| 109 | 112 | /** |
| 110 | - * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 113 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 111 | 114 | */ |
| 112 | 115 | private function getReferenceProvider() |
| 113 | 116 | { |
@@ -7,8 +7,6 @@ |
||
| 7 | 7 | use ScayTrase\Api\Cruds\Exception\EntityProcessingException; |
| 8 | 8 | use ScayTrase\Api\Cruds\PublicPropertyMapper; |
| 9 | 9 | use ScayTrase\Api\Cruds\Tests\WebTestCase; |
| 10 | -use ScayTrase\Api\Cruds\Tests\Fixtures\SymfonySerializer\SymfonyTestKernel; |
|
| 11 | -use ScayTrase\Api\Cruds\Tests\StaticKernelTestTrait; |
|
| 12 | 10 | use Symfony\Component\Form\AbstractType; |
| 13 | 11 | use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
| 14 | 12 | use Symfony\Component\Form\Extension\Core\Type\IntegerType; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace ScayTrase\Api\Cruds\Adaptors\JmsSerializer; |
| 4 | 4 | |
| 5 | 5 | use JMS\Serializer\ArrayTransformerInterface as JmsDenormalizerInterface; |
| 6 | -use JMS\Serializer\Serializer; |
|
| 7 | 6 | use ScayTrase\Api\Cruds\EntityProcessorInterface; |
| 8 | 7 | |
| 9 | 8 | final class JmsSerializerProcessor implements EntityProcessorInterface |