@@ -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 |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @return string[] |
|
| 74 | + * @return integer[] |
|
| 75 | 75 | */ |
| 76 | 76 | public function getMounts() |
| 77 | 77 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace ScayTrase\Api\Cruds\Routing; |
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\Config\Loader\Loader; |
| 6 | -use Symfony\Component\Routing\Route; |
|
| 7 | 6 | use Symfony\Component\Routing\RouteCollection; |
| 8 | 7 | |
| 9 | 8 | class EntityRouteLoader extends Loader |
@@ -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 | |
@@ -95,6 +95,9 @@ discard block |
||
| 95 | 95 | self::assertSame([$f1, $f2, $f3, $f4], $result->toArray()); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param integer $a |
|
| 100 | + */ |
|
| 98 | 101 | private function createFixture($a, $b, $c) |
| 99 | 102 | { |
| 100 | 103 | $entity = new AbcClass(); |
@@ -106,7 +109,7 @@ discard block |
||
| 106 | 109 | } |
| 107 | 110 | |
| 108 | 111 | /** |
| 109 | - * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 112 | + * @return ReferenceProviderInterface |
|
| 110 | 113 | */ |
| 111 | 114 | private function getReferenceProvider() |
| 112 | 115 | { |
@@ -95,6 +95,9 @@ discard block |
||
| 95 | 95 | self::assertSame([$f1, $f2, $f3, $f4], $result->toArray()); |
| 96 | 96 | } |
| 97 | 97 | |
| 98 | + /** |
|
| 99 | + * @param integer $a |
|
| 100 | + */ |
|
| 98 | 101 | private function createFixture($a, $b, $c) |
| 99 | 102 | { |
| 100 | 103 | $entity = new AbcClass(); |
@@ -106,7 +109,7 @@ discard block |
||
| 106 | 109 | } |
| 107 | 110 | |
| 108 | 111 | /** |
| 109 | - * @return ReferenceProviderInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 112 | + * @return ReferenceProviderInterface |
|
| 110 | 113 | */ |
| 111 | 114 | private function getReferenceProvider() |
| 112 | 115 | { |