@@ -132,7 +132,7 @@ |
||
| 132 | 132 | /** |
| 133 | 133 | * Encode errors as JSON API string. |
| 134 | 134 | * |
| 135 | - * @param ErrorInterface[]|ErrorCollection $errors |
|
| 135 | + * @param ErrorInterface[] $errors |
|
| 136 | 136 | * |
| 137 | 137 | * @return string |
| 138 | 138 | */ |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | * @param SchemaInterface $schema |
| 49 | 49 | * @param object $resource |
| 50 | 50 | * @param bool $isInArray |
| 51 | - * @param array<string,int>|null $attributeKeysFilter |
|
| 51 | + * @param array<string,int>|null $fieldKeysFilter |
|
| 52 | 52 | * |
| 53 | 53 | * @return ResourceObjectInterface |
| 54 | 54 | */ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * @param string|mixed $shouldBeString |
| 130 | 130 | * @param string $separator |
| 131 | 131 | * |
| 132 | - * @return iterable |
|
| 132 | + * @return \Generator |
|
| 133 | 133 | */ |
| 134 | 134 | protected function splitString(string $paramName, $shouldBeString, string $separator): iterable |
| 135 | 135 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | * @param string|mixed $shouldBeString |
| 148 | 148 | * @param string $separator |
| 149 | 149 | * |
| 150 | - * @return iterable |
|
| 150 | + * @return \Generator |
|
| 151 | 151 | */ |
| 152 | 152 | protected function splitStringAndCheckNoEmpties(string $paramName, $shouldBeString, string $separator): iterable |
| 153 | 153 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | * @param string $paramName |
| 166 | 166 | * @param string|mixed $shouldBeString |
| 167 | 167 | * |
| 168 | - * @return iterable |
|
| 168 | + * @return \Generator |
|
| 169 | 169 | */ |
| 170 | 170 | protected function splitCommaSeparatedStringAndCheckNoEmpties(string $paramName, $shouldBeString): iterable |
| 171 | 171 | { |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | * @param SchemaInterface $schema |
| 123 | 123 | * @param object $resource |
| 124 | 124 | * @param bool $isInArray |
| 125 | - * @param array<string,int>|null $attributeKeysFilter |
|
| 125 | + * @param array<string,int>|null $fieldKeysFilter |
|
| 126 | 126 | * |
| 127 | 127 | * @SuppressWarnings(PHPMD.StaticAccess) |
| 128 | 128 | */ |