Skip to content

Commit e7c7e2d

Browse files
committed
typo
1 parent a366e28 commit e7c7e2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Http/Response.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function getHeaders(): array
218218
$headers = [];
219219
foreach (headers_list() as $header) {
220220
$a = strpos($header, ':');
221-
$headers[substr($header, 0, $a)] = (string) substr($header, $a + 2);
221+
$headers[substr($header, 0, $a)] = substr($header, $a + 2);
222222
}
223223

224224
return $headers;

src/Http/UrlScript.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function getRelativeUrl(): string
9090
*/
9191
public function getPathInfo(): string
9292
{
93-
return (string) substr($this->getPath(), strlen($this->scriptPath));
93+
return substr($this->getPath(), strlen($this->scriptPath));
9494
}
9595

9696

0 commit comments

Comments
 (0)