Test Failed
Pull Request — main (#64)
by Lode
08:15
created
src/ErrorsDocument.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/helpers/ProfileAliasManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -48,6 +48,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
64 66
 	
65 67
 	/**
66 68
 	 * @inheritDoc
69
+	 * @return string
67 70
 	 */
68 71
 	abstract public function getOfficialLink();
69 72
 	
Please login to merge, or discard this patch.
src/helpers/Validator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/interfaces/DocumentInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/interfaces/PaginableInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -8,6 +8,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/interfaces/ProfileInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
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
 	
Please login to merge, or discard this patch.
src/objects/RelationshipsObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.