Skip to content

Commit eef87e3

Browse files
committed
style: fix PHP CS Fixer alignment issues
- Align phpdoc @PARAM annotations in RequestTrait::fetchFromArray. - Align match arm => operators in Superglobals::getRequestData.
1 parent 1bae1ba commit eef87e3

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎system/HTTP/RequestTrait.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ public function fetchGlobal(string $name, $index = null, ?int $filter = null, $f
298298
* Fetches one or more items from an array, applying the same filtering
299299
* and index resolution as fetchGlobal().
300300
*
301-
* @param array<string, mixed> $data
302-
* @param int|list<string>|string|null $index
303-
* @param int|null $filter Filter constant
304-
* @param array<string, mixed>|int|null $flags Options
301+
* @param array<string, mixed> $data
302+
* @param int|list<string>|string|null $index
303+
* @param int|null $filter Filter constant
304+
* @param array<string, mixed>|int|null $flags Options
305305
*
306306
* @return mixed
307307
*/

‎system/Superglobals.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,9 @@ public function getRequestData(): array
413413

414414
foreach (str_split($requestOrder) as $type) {
415415
match ($type) {
416-
'G' => $request = array_merge($request, $this->get),
417-
'P' => $request = array_merge($request, $this->post),
418-
'C' => $request = array_merge($request, $this->cookie),
416+
'G' => $request = array_merge($request, $this->get),
417+
'P' => $request = array_merge($request, $this->post),
418+
'C' => $request = array_merge($request, $this->cookie),
419419
default => null,
420420
};
421421
}

0 commit comments

Comments
 (0)