Skip to content

Commit ff286ba

Browse files
Update tests/UtopiaFPMRequestTest.php
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b6f497b commit ff286ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/UtopiaFPMRequestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class UtopiaFPMRequestTest extends UtopiaFPMRequest
1919
*/
2020
public function getParam(string $key, $default = null): mixed
2121
{
22-
if ($this::_hasParams() && \in_array($key, $this::_getParams())) {
22+
if ($this::_hasParams() && \array_key_exists($key, $this::_getParams())) {
2323
return $this::_getParams()[$key];
2424
}
2525

0 commit comments

Comments
 (0)