@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | /** |
53 | 53 | * Get handler with required custom field types registered. |
54 | 54 | * |
55 | - * @return Handler |
|
55 | + * @return \eZ\Publish\SPI\Persistence\Handler|null |
|
56 | 56 | */ |
57 | 57 | public function getCustomHandler() |
58 | 58 | { |
@@ -32,6 +32,10 @@ discard block |
||
32 | 32 | $this->output = $output; |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $source |
|
37 | + * @param string $target |
|
38 | + */ |
|
35 | 39 | protected function copyConfigurationFile($source, $target) |
36 | 40 | { |
37 | 41 | $fs = new Filesystem(); |
@@ -42,6 +46,9 @@ discard block |
||
42 | 46 | } |
43 | 47 | } |
44 | 48 | |
49 | + /** |
|
50 | + * @param string $file |
|
51 | + */ |
|
45 | 52 | protected function runQueriesFromFile($file) |
46 | 53 | { |
47 | 54 | $queries = array_filter(preg_split('(;\\s*$)m', file_get_contents($file))); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | /** |
61 | 61 | * Update name and identifier of a section. |
62 | 62 | * |
63 | - * @param mixed $id |
|
63 | + * @param integer $id |
|
64 | 64 | * @param string $name |
65 | 65 | * @param string $identifier |
66 | 66 | * |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * Get section data. |
83 | 83 | * |
84 | - * @param mixed $id |
|
84 | + * @param integer $id |
|
85 | 85 | * |
86 | 86 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException If section is not found |
87 | 87 | * |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | * content objects. Make sure that no content objects are associated with |
173 | 173 | * the section any more *before* calling this method. |
174 | 174 | * |
175 | - * @param mixed $id |
|
175 | + * @param integer $id |
|
176 | 176 | */ |
177 | 177 | public function delete($id) |
178 | 178 | { |
@@ -189,8 +189,8 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Assigns section to single content object. |
191 | 191 | * |
192 | - * @param mixed $sectionId |
|
193 | - * @param mixed $contentId |
|
192 | + * @param integer $sectionId |
|
193 | + * @param integer $contentId |
|
194 | 194 | */ |
195 | 195 | public function assign($sectionId, $contentId) |
196 | 196 | { |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * Number of role policies using a Section in limitations. |
214 | 214 | * |
215 | - * @param mixed $sectionId |
|
215 | + * @param integer $sectionId |
|
216 | 216 | * |
217 | 217 | * @return int |
218 | 218 | */ |
@@ -126,7 +126,7 @@ |
||
126 | 126 | * If not set the initialLanguage of the content version is used. |
127 | 127 | * |
128 | 128 | * @param string $fieldDefIdentifier |
129 | - * @param null $languageCode |
|
129 | + * @param string $languageCode |
|
130 | 130 | * |
131 | 131 | * @return \eZ\Publish\API\Repository\Values\Content\Field|null A {@link Field} or null if nothing is found |
132 | 132 | */ |