Skip to content

Commit 39f164a

Browse files
authored
Replace haystack and needle in strpos
1 parent 3c554f5 commit 39f164a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ private function prettifyHeaders($headers)
9595
return array_reduce(
9696
$headers,
9797
function ($result, $header) {
98-
if (false === strpos(':', $header)) {
98+
if (false === strpos($header, ':')) {
9999
$result['Status'] = $header;
100100

101101
return $result;

0 commit comments

Comments
 (0)