@@ -37,7 +37,7 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Gets the exception. |
| 39 | 39 | * |
| 40 | - * @return \Exception |
|
| 40 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 41 | 41 | */ |
| 42 | 42 | protected function getException() |
| 43 | 43 | { |
@@ -176,6 +176,9 @@ |
||
| 176 | 176 | ); |
| 177 | 177 | } |
| 178 | 178 | |
| 179 | + /** |
|
| 180 | + * @return \eZ\Publish\API\Repository\Values\User\User |
|
| 181 | + */ |
|
| 179 | 182 | protected function getUserMock() |
| 180 | 183 | { |
| 181 | 184 | $user = $this->getMock('eZ\\Publish\\API\\Repository\\Values\\User\\User'); |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | |
| 15 | 15 | class ResourceCreated extends RestValue |
| 16 | 16 | { |
| 17 | + /** |
|
| 18 | + * @param string $redirectUri |
|
| 19 | + */ |
|
| 17 | 20 | public function __construct($redirectUri) |
| 18 | 21 | { |
| 19 | 22 | $this->redirectUri = $redirectUri; |
@@ -57,6 +57,7 @@ |
||
| 57 | 57 | * @param string $sessionName |
| 58 | 58 | * @param string $sessionId |
| 59 | 59 | * @param string $csrfToken |
| 60 | + * @param null|boolean $created |
|
| 60 | 61 | */ |
| 61 | 62 | public function __construct(User $user, $sessionName, $sessionId, $csrfToken, $created) |
| 62 | 63 | { |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * |
| 37 | 37 | * @param \eZ\Publish\SPI\Search\Field $field |
| 38 | 38 | * |
| 39 | - * @return mixed |
|
| 39 | + * @return integer |
|
| 40 | 40 | */ |
| 41 | 41 | public function map(Field $field) |
| 42 | 42 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * |
| 49 | 49 | * @param mixed $value |
| 50 | 50 | * |
| 51 | - * @return string |
|
| 51 | + * @return integer |
|
| 52 | 52 | */ |
| 53 | 53 | protected function convert($value) |
| 54 | 54 | { |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * |
| 37 | 37 | * @param \eZ\Publish\SPI\Search\Field $field |
| 38 | 38 | * |
| 39 | - * @return mixed |
|
| 39 | + * @return double |
|
| 40 | 40 | */ |
| 41 | 41 | public function map(Field $field) |
| 42 | 42 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param \eZ\Publish\SPI\Search\Field $field |
| 40 | 40 | * |
| 41 | - * @return mixed |
|
| 41 | + * @return string |
|
| 42 | 42 | */ |
| 43 | 43 | public function map(Field $field) |
| 44 | 44 | { |
@@ -562,7 +562,7 @@ |
||
| 562 | 562 | * |
| 563 | 563 | * Used to determine user groups of a user with $contentId. |
| 564 | 564 | * |
| 565 | - * @param int|string $contentId |
|
| 565 | + * @param integer $contentId |
|
| 566 | 566 | * |
| 567 | 567 | * @return array |
| 568 | 568 | */ |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | * @param \eZ\Publish\API\Repository\Values\Content\Query\SortClause $sortClause |
| 43 | 43 | * @param int $number |
| 44 | 44 | * |
| 45 | - * @return string |
|
| 45 | + * @return string[] |
|
| 46 | 46 | */ |
| 47 | 47 | public function applySelect(SelectQuery $query, SortClause $sortClause, $number) |
| 48 | 48 | { |