@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * @param string $identifier content type identifier |
128 | 128 | * @param bool $throwIfNotFound if true, throws an exception if it is not found. |
129 | 129 | * |
130 | - * @return \eZ\Publish\API\Repository\Values\ContentType\ContentTypeGroup|null |
|
130 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
131 | 131 | */ |
132 | 132 | protected function loadContentTypeByIdentifier($identifier, $throwIfNotFound = true) |
133 | 133 | { |
@@ -151,9 +151,9 @@ discard block |
||
151 | 151 | * |
152 | 152 | * @param string $groupIdentifier content type group identifier |
153 | 153 | * @param string $identifier content type identifier |
154 | - * @param array $fields content type fields definitions |
|
154 | + * @param TableNode $fields content type fields definitions |
|
155 | 155 | * |
156 | - * @return eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
156 | + * @return \eZ\Publish\API\Repository\Values\ContentType\ContentType |
|
157 | 157 | */ |
158 | 158 | public function createContentType($groupIdentifier, $identifier, $fields) |
159 | 159 | { |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | /** |
202 | 202 | * Remove the given 'ContentType' object. |
203 | 203 | * |
204 | - * @param eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
204 | + * @param \eZ\Publish\API\Repository\Values\ContentType\ContentType $contentType |
|
205 | 205 | */ |
206 | 206 | protected function removeContentType($contentType) |
207 | 207 | { |