@@ -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 | */ |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 26 | 26 | * |
| 27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 27 | + * @return Search\Field[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 30 | 30 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 26 | 26 | * |
| 27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 27 | + * @return Search\Field[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 30 | 30 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param \eZ\Publish\SPI\Persistence\Content\Field $field |
| 25 | 25 | * @param \eZ\Publish\SPI\Persistence\Content\Type\FieldDefinition $fieldDefinition |
| 26 | 26 | * |
| 27 | - * @return \eZ\Publish\SPI\Search\Field[] |
|
| 27 | + * @return Search\Field[] |
|
| 28 | 28 | */ |
| 29 | 29 | public function getIndexData(Field $field, FieldDefinition $fieldDefinition) |
| 30 | 30 | { |
@@ -65,6 +65,9 @@ discard block |
||
| 65 | 65 | ); |
| 66 | 66 | } |
| 67 | 67 | |
| 68 | + /** |
|
| 69 | + * @param string $default |
|
| 70 | + */ |
|
| 68 | 71 | private function buildList($groups, $default) |
| 69 | 72 | { |
| 70 | 73 | return new ArrayTranslatorFieldsGroupsList( |
@@ -75,7 +78,7 @@ discard block |
||
| 75 | 78 | } |
| 76 | 79 | |
| 77 | 80 | /** |
| 78 | - * @return \Symfony\Component\Translation\TranslatorInterface|\PHPUnit_Framework_MockObject_MockObject |
|
| 81 | + * @return \Symfony\Component\Translation\TranslatorInterface |
|
| 79 | 82 | */ |
| 80 | 83 | private function getTranslatorMock() |
| 81 | 84 | { |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | * @param \eZ\Publish\API\Repository\Values\ValueObject $object |
| 117 | 117 | * @param \eZ\Publish\API\Repository\Values\ValueObject[]|null $targets The context of the $object, like Location of Content, if null none where provided by caller |
| 118 | 118 | * |
| 119 | - * @return bool |
|
| 119 | + * @return boolean|null |
|
| 120 | 120 | */ |
| 121 | 121 | public function evaluate(APILimitationValue $value, APIUserReference $currentUser, ValueObject $object, array $targets = null) |
| 122 | 122 | { |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | protected static $locationIds = []; |
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | - * @return mixed |
|
| 17 | + * @return integer |
|
| 18 | 18 | */ |
| 19 | 19 | public static function getContentId() |
| 20 | 20 | { |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
| 90 | - * @return array |
|
| 90 | + * @return string[] |
|
| 91 | 91 | */ |
| 92 | 92 | private static function getAllSignals() |
| 93 | 93 | { |
@@ -43,8 +43,6 @@ |
||
| 43 | 43 | * |
| 44 | 44 | * @throws \eZ\Publish\Core\Persistence\Database\QueryException if called with no parameters. |
| 45 | 45 | * |
| 46 | - * @param string|array(string) $... Either a string with a logical expression name |
|
| 47 | - * or an array with logical expressions. |
|
| 48 | 46 | * |
| 49 | 47 | * @return \eZ\Publish\Core\Persistence\Database\DeleteQuery |
| 50 | 48 | */ |