@@ -150,7 +150,7 @@ |
||
150 | 150 | /** |
151 | 151 | * @internal |
152 | 152 | * |
153 | - * @param string|int $httpStatusCode |
|
153 | + * @param integer $httpStatusCode |
|
154 | 154 | * @return int |
155 | 155 | */ |
156 | 156 | protected function determineHttpStatusCode($httpStatusCode) { |
@@ -48,6 +48,8 @@ discard block |
||
48 | 48 | |
49 | 49 | /** |
50 | 50 | * @inheritDoc |
51 | + * @param string $keyword |
|
52 | + * @return string |
|
51 | 53 | */ |
52 | 54 | public function getKeyword($keyword) { |
53 | 55 | if (isset($this->keywordMapping[$keyword]) === false) { |
@@ -64,6 +66,7 @@ discard block |
||
64 | 66 | |
65 | 67 | /** |
66 | 68 | * @inheritDoc |
69 | + * @return string |
|
67 | 70 | */ |
68 | 71 | abstract public function getOfficialLink(); |
69 | 72 |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | * |
35 | 35 | * @see https://jsonapi.org/format/1.1/#document-resource-object-fields |
36 | 36 | * |
37 | - * @param string[] $fieldName |
|
37 | + * @param string[] $fieldNames |
|
38 | 38 | * @param string $objectContainer one of the Validator::OBJECT_CONTAINER_* constants |
39 | 39 | * @param array $options optional {@see Validator::$defaults} |
40 | 40 | * |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @param string $objectContainer one of the Validator::OBJECT_CONTAINER_* constants |
|
67 | + * @param string $objectContainerToClear one of the Validator::OBJECT_CONTAINER_* constants |
|
68 | 68 | */ |
69 | 69 | public function clearUsedFields($objectContainerToClear) { |
70 | 70 | foreach ($this->usedFields as $fieldName => $containerFound) { |
@@ -28,6 +28,7 @@ |
||
28 | 28 | * @note will set http status code and content type, and echo json |
29 | 29 | * |
30 | 30 | * @param array $options optional |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function sendResponse(array $options=[]); |
33 | 34 | } |
@@ -8,6 +8,7 @@ |
||
8 | 8 | * @param string $nextHref optional |
9 | 9 | * @param string $firstHref optional |
10 | 10 | * @param string $lastHref optional |
11 | + * @return void |
|
11 | 12 | */ |
12 | 13 | public function setPaginationLinks($previousHref=null, $nextHref=null, $firstHref=null, $lastHref=null); |
13 | 14 | } |
@@ -19,6 +19,7 @@ |
||
19 | 19 | * @throws InputException if the alias is not different from the keyword |
20 | 20 | * @throws InputException if the keyword is not known to the profile |
21 | 21 | * @throws InputException if the alias is not a valid member name |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function __construct(array $aliases=[]); |
24 | 25 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | /** |
64 | 64 | * @internal |
65 | 65 | * |
66 | - * @return string[] |
|
66 | + * @return integer[] |
|
67 | 67 | */ |
68 | 68 | public function getKeys() { |
69 | 69 | return array_keys($this->relationships); |