@@ -73,9 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Initialize class. |
75 | 75 | * |
76 | - * @param string $url Base URL for REST calls |
|
77 | 76 | * @param string $driver REST Driver to be used |
78 | - * @param string $json |
|
79 | 77 | */ |
80 | 78 | public function __construct( |
81 | 79 | $driver = self::DEFAULT_DRIVER, |
@@ -89,6 +87,9 @@ discard block |
||
89 | 87 | $this->setRestDriver($this->driver); |
90 | 88 | } |
91 | 89 | |
90 | + /** |
|
91 | + * @param string $url |
|
92 | + */ |
|
92 | 93 | private function setUrl($url) |
93 | 94 | { |
94 | 95 | $this->url = $url; |
@@ -167,6 +168,8 @@ discard block |
||
167 | 168 | |
168 | 169 | /** |
169 | 170 | * @When I send a :type request to :resource (url) |
171 | + * @param string $type |
|
172 | + * @param string $resource |
|
170 | 173 | */ |
171 | 174 | public function createAndSendRequest($type, $resource) |
172 | 175 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
32 | - * @param mixed $resource |
|
32 | + * @param string $resource |
|
33 | 33 | * @param string $type |
34 | 34 | * |
35 | 35 | * @return RouteCollection |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use eZ\Publish\Core\FieldType\BinaryFile\Value as BinaryFileValue; |
14 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; |
15 | -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; |
|
16 | 15 | |
17 | 16 | /** |
18 | 17 | * Integration test for use field type. |
@@ -10,7 +10,6 @@ |
||
10 | 10 | */ |
11 | 11 | namespace eZ\Publish\API\Repository\Tests\FieldType; |
12 | 12 | |
13 | -use eZ\Publish\Core\FieldType\Float\Type; |
|
14 | 13 | use eZ\Publish\Core\FieldType\Float\Value as FloatValue; |
15 | 14 | use eZ\Publish\API\Repository\Values\Content\Field; |
16 | 15 |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use eZ\Publish\Core\FieldType\BinaryBase\Type as BinaryBaseType; |
14 | 14 | use eZ\Publish\SPI\Persistence\Content\FieldValue; |
15 | 15 | use eZ\Publish\SPI\FieldType\Value as SPIValue; |
16 | -use eZ\Publish\Core\FieldType\Value as BaseValue; |
|
17 | 16 | |
18 | 17 | /** |
19 | 18 | * The TextLine field type. |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use eZ\Publish\Core\MVC\Symfony\RequestStackAware; |
16 | 16 | use eZ\Publish\Core\MVC\Symfony\Routing\RouteReference; |
17 | 17 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
18 | -use Symfony\Component\HttpFoundation\Request; |
|
19 | 18 | |
20 | 19 | class RouteReferenceGenerator implements RouteReferenceGeneratorInterface |
21 | 20 | { |
@@ -148,7 +148,7 @@ |
||
148 | 148 | } |
149 | 149 | |
150 | 150 | /** |
151 | - * @param array $excludedUriPrefixes |
|
151 | + * @param string[] $excludedUriPrefixes |
|
152 | 152 | */ |
153 | 153 | public function setExcludedUriPrefixes(array $excludedUriPrefixes) |
154 | 154 | { |
@@ -226,7 +226,7 @@ |
||
226 | 226 | * Fragments are considered as sub-requests (i.e. ESI, Hinclude...). |
227 | 227 | * |
228 | 228 | * @param Request $request |
229 | - * @param $requestType |
|
229 | + * @param integer $requestType |
|
230 | 230 | * |
231 | 231 | * @return bool |
232 | 232 | */ |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Returns matched SiteAccess. |
73 | 73 | * |
74 | - * @return string|bool |
|
74 | + * @return string|false |
|
75 | 75 | */ |
76 | 76 | protected function getMatchedSiteAccess() |
77 | 77 | { |