@@ -42,7 +42,7 @@ |
||
42 | 42 | /** |
43 | 43 | * Purge all variations generated for aliases in $aliasName. |
44 | 44 | * |
45 | - * @param array $aliasNames |
|
45 | + * @param string[] $aliasNames |
|
46 | 46 | */ |
47 | 47 | public function purge(array $aliasNames) |
48 | 48 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * Return an array of container extensions you need to be registered for each test (usually just the container |
23 | 23 | * extension you are testing. |
24 | 24 | * |
25 | - * @return ExtensionInterface[] |
|
25 | + * @return EzPublishCoreExtension[] |
|
26 | 26 | */ |
27 | 27 | protected function getContainerExtensions() |
28 | 28 | { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * @dataProvider badRequestExceptionProvider |
123 | 123 | * |
124 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception |
|
124 | + * @param Exception $exception |
|
125 | 125 | */ |
126 | 126 | public function testBadRequestException(Exception $exception) |
127 | 127 | { |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | /** |
159 | 159 | * @dataProvider otherExceptionProvider |
160 | 160 | * |
161 | - * @param Exception|\eZ\Publish\Core\Base\Translatable $exception |
|
161 | + * @param Exception $exception |
|
162 | 162 | */ |
163 | 163 | public function testOtherRepositoryException(Exception $exception) |
164 | 164 | { |
@@ -44,7 +44,6 @@ discard block |
||
44 | 44 | * @param array $headers An array of response headers |
45 | 45 | * @param bool $public Files are public by default |
46 | 46 | * @param null|string $contentDisposition The type of Content-Disposition to set automatically with the filename |
47 | - * @param bool $autoEtag Whether the ETag header should be automatically set |
|
48 | 47 | * @param bool $autoLastModified Whether the Last-Modified header should be automatically set |
49 | 48 | */ |
50 | 49 | public function __construct(BinaryFile $binaryFile, IOServiceInterface $ioService, $status = 200, $headers = array(), $public = true, $contentDisposition = null, $autoLastModified = true) |
@@ -63,12 +62,11 @@ discard block |
||
63 | 62 | /** |
64 | 63 | * Sets the file to stream. |
65 | 64 | * |
66 | - * @param \SplFileInfo|string $file The file to stream |
|
65 | + * @param BinaryFile $file The file to stream |
|
67 | 66 | * @param string $contentDisposition |
68 | - * @param bool $autoEtag |
|
69 | 67 | * @param bool $autoLastModified |
70 | 68 | * |
71 | - * @return BinaryFileResponse |
|
69 | + * @return BinaryStreamResponse |
|
72 | 70 | */ |
73 | 71 | public function setFile($file, $contentDisposition = null, $autoLastModified = true) |
74 | 72 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * @param ContainerBuilder $container |
73 | 73 | * @param Definition $factory The factory service that should receive the list of handlers |
74 | 74 | * @param array $configuredHandlers Handlers configuration declared via semantic config |
75 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject $factories Map of alias => handler service id |
|
75 | + * @param ArrayObject $factories Map of alias => handler service id |
|
76 | 76 | * @param string $defaultHandler default handler id |
77 | 77 | * |
78 | 78 | * @internal param $HandlerTypesMap |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | * Returns from $factories the factory for handler $type. |
106 | 106 | * |
107 | 107 | * @param ContainerBuilder $container |
108 | - * @param \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory[]|ArrayObject|ContainerAware[] $factories |
|
108 | + * @param ArrayObject $factories |
|
109 | 109 | * @param string $type |
110 | 110 | * |
111 | 111 | * @return \eZ\Bundle\EzPublishIOBundle\DependencyInjection\ConfigurationFactory |
@@ -72,6 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * Registers the handler in the container, like the pass would have done. |
75 | + * @param string $name |
|
75 | 76 | */ |
76 | 77 | private function registerHandler($name) |
77 | 78 | { |
@@ -107,7 +108,6 @@ discard block |
||
107 | 108 | * |
108 | 109 | * The method can also configure the container via $this->container. |
109 | 110 | * |
110 | - * @param ContainerBuilder $container |
|
111 | 111 | */ |
112 | 112 | abstract public function provideHandlerConfiguration(); |
113 | 113 |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * add additional columns to be fetched from the database. Please do not |
52 | 52 | * forget to call the parent when overwriting this method. |
53 | 53 | * |
54 | - * @param eZ\Publish\Core\Persistence\Database\SelectQuery $selectQuery |
|
54 | + * @param SelectQuery $selectQuery |
|
55 | 55 | * @param int $fieldId |
56 | 56 | * @param int $versionNo |
57 | 57 | */ |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | * add additional columns to be set in the database. Please do not forget |
73 | 73 | * to call the parent when overwriting this method. |
74 | 74 | * |
75 | - * @param \ezcQueryInsert $insertQuery |
|
75 | + * @param InsertQuery $insertQuery |
|
76 | 76 | * @param VersionInfo $versionInfo |
77 | 77 | * @param Field $field |
78 | 78 | */ |
@@ -69,7 +69,6 @@ |
||
69 | 69 | /** |
70 | 70 | * @param \eZ\Publish\Core\IO\IOServiceInterface $publishedIOService |
71 | 71 | * @param \eZ\Publish\Core\IO\IOServiceInterface $draftIOService |
72 | - * @param array $options Path options. Known keys: var_dir, storage_dir, draft_images_dir, published_images_dir. |
|
73 | 72 | * |
74 | 73 | * @throws \eZ\Publish\Core\Base\Exceptions\InvalidArgumentException if required options are missing |
75 | 74 | * @throws \Symfony\Component\OptionsResolver\Exception\InvalidOptionsException |
@@ -187,7 +187,7 @@ |
||
187 | 187 | /** |
188 | 188 | * Returns if the given $value is considered empty by the field type. |
189 | 189 | * |
190 | - * @param mixed $value |
|
190 | + * @param SPIValue $value |
|
191 | 191 | * |
192 | 192 | * @return bool |
193 | 193 | */ |