@@ -76,6 +76,10 @@ |
||
| 76 | 76 | |
| 77 | 77 | /** |
| 78 | 78 | * @throws NotImplementedException If Content is missing location as this is not supported in current version |
| 79 | + * @param integer $contentId |
|
| 80 | + * @param integer $versionNo |
|
| 81 | + * @param string $language |
|
| 82 | + * @param string $siteAccessName |
|
| 79 | 83 | */ |
| 80 | 84 | public function previewContentAction(Request $request, $contentId, $versionNo, $language, $siteAccessName = null) |
| 81 | 85 | { |
@@ -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 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * "sort_key_int" or "sort_key_string". This column is then used for |
| 68 | 68 | * filtering and sorting for this type. |
| 69 | 69 | * |
| 70 | - * @return string |
|
| 70 | + * @return boolean |
|
| 71 | 71 | */ |
| 72 | 72 | public function getIndexColumn() |
| 73 | 73 | { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | * Creates a new exception for $typeId in $status;. |
| 22 | 22 | * |
| 23 | 23 | * @param mixed $typeGroupId |
| 24 | - * @param mixed $status |
|
| 25 | 24 | */ |
| 26 | 25 | public function __construct($typeGroupId) |
| 27 | 26 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Returns a language handler mock. |
| 37 | 37 | * |
| 38 | - * @return \eZ\Publish\Core\Persistence\Legacy\Content\Language\Handler |
|
| 38 | + * @return \eZ\Publish\SPI\Persistence\Content\Language\Handler |
|
| 39 | 39 | */ |
| 40 | 40 | protected function getLanguageHandler() |
| 41 | 41 | { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * @return \eZ\Publish\API\Repository\Values\Content\Field[] |
|
| 156 | + * @return Field[] |
|
| 157 | 157 | */ |
| 158 | 158 | protected function getFields() |
| 159 | 159 | { |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | - * @return \eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition[] |
|
| 207 | + * @return FieldDefinition[] |
|
| 208 | 208 | */ |
| 209 | 209 | protected function getFieldDefinitions() |
| 210 | 210 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | * Returns the fallback default value of field type when no such default |
| 155 | 155 | * value is provided in the field definition in content types. |
| 156 | 156 | * |
| 157 | - * @return mixed |
|
| 157 | + * @return Value |
|
| 158 | 158 | */ |
| 159 | 159 | public function getEmptyValue() |
| 160 | 160 | { |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | * |
| 185 | 185 | * @param mixed $hash |
| 186 | 186 | * |
| 187 | - * @return mixed |
|
| 187 | + * @return Value |
|
| 188 | 188 | */ |
| 189 | 189 | public function fromHash($hash) |
| 190 | 190 | { |