@@ -39,9 +39,7 @@ |
||
| 39 | 39 | /** |
| 40 | 40 | * Can receive as many tuples of array( argumentName ), argumentValue as necessary. |
| 41 | 41 | * |
| 42 | - * @param $argumentString |
|
| 43 | - * @param string $dynamicSettingName.. |
|
| 44 | - * @param string $dynamicSettingValue.. |
|
| 42 | + * @param string $argumentString |
|
| 45 | 43 | * |
| 46 | 44 | * @return string |
| 47 | 45 | */ |
@@ -111,6 +111,7 @@ discard block |
||
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | 113 | * Applies dependencies of complex $parameter in $scope. |
| 114 | + * @param string $parameter |
|
| 114 | 115 | */ |
| 115 | 116 | private function addComplexParametersDependencies($parameter, $scope, ContainerBuilder $container) |
| 116 | 117 | { |
@@ -145,6 +146,9 @@ discard block |
||
| 145 | 146 | } |
| 146 | 147 | } |
| 147 | 148 | |
| 149 | + /** |
|
| 150 | + * @param string $setting |
|
| 151 | + */ |
|
| 148 | 152 | private function postProcessComplexSetting($setting, $sa, ContainerBuilder $container) |
| 149 | 153 | { |
| 150 | 154 | $configResolver = $container->get('ezpublish.config.resolver.core'); |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | /** |
| 69 | 69 | * Sets the complete list of view providers. |
| 70 | 70 | * |
| 71 | - * @param array $viewProviders |
|
| 71 | + * @param \PHPUnit_Framework_MockObject_MockObject $viewProviders |
|
| 72 | 72 | */ |
| 73 | 73 | public function setViewProviders(array $viewProviders) |
| 74 | 74 | { |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | private $router; |
| 46 | 46 | |
| 47 | + /** |
|
| 48 | + * @param string $defaultSiteAccess |
|
| 49 | + */ |
|
| 47 | 50 | public function __construct(ConfigResolverInterface $configResolver, RouterInterface $router, $defaultSiteAccess, LoggerInterface $logger = null) |
| 48 | 51 | { |
| 49 | 52 | $this->configResolver = $configResolver; |
@@ -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. |
@@ -32,15 +32,16 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If $path is not found |
| 34 | 34 | * |
| 35 | - * @param string $path |
|
| 35 | + * @param string $spiBinaryFileId |
|
| 36 | + * @return void |
|
| 36 | 37 | */ |
| 37 | 38 | public function delete($spiBinaryFileId); |
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * Loads and returns metadata for $path. |
| 41 | 42 | * |
| 42 | - * @param string $path |
|
| 43 | 43 | * |
| 44 | + * @param string $spiBinaryFileId |
|
| 44 | 45 | * @return BinaryFile |
| 45 | 46 | */ |
| 46 | 47 | public function load($spiBinaryFileId); |
@@ -48,8 +49,8 @@ discard block |
||
| 48 | 49 | /** |
| 49 | 50 | * Checks if a file $path exists. |
| 50 | 51 | * |
| 51 | - * @param string $path |
|
| 52 | 52 | * |
| 53 | + * @param string $spiBinaryFileId |
|
| 53 | 54 | * @return bool |
| 54 | 55 | */ |
| 55 | 56 | public function exists($spiBinaryFileId); |
@@ -57,11 +58,16 @@ discard block |
||
| 57 | 58 | /** |
| 58 | 59 | * Returns the file's mimetype. Example: text/plain. |
| 59 | 60 | * |
| 60 | - * @param $spiBinaryFileId |
|
| 61 | + * @param string $spiBinaryFileId |
|
| 61 | 62 | * |
| 62 | 63 | * @return string |
| 63 | 64 | */ |
| 64 | 65 | public function getMimeType($spiBinaryFileId); |
| 65 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $spiPath |
|
| 69 | + * |
|
| 70 | + * @return void |
|
| 71 | + */ |
|
| 66 | 72 | public function deleteDirectory($spiPath); |
| 67 | 73 | } |
@@ -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 | { |