Skip to content

Commit 356d864

Browse files
committed
Fix typo in code example in README file.
1 parent e5f225b commit 356d864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ $request = \Laminas\Diactoros\ServerRequestFactory::fromGlobals(
157157
);
158158

159159
/*/ Remove the `/data` prefix from the path /*/
160-
$changedPath = substr($request->getUri()->getPath(), 5)));
160+
$changedPath = substr($request->getUri()->getPath(), 5);
161161
$request = $request->withUri($request->getUri()->withPath($changedPath));
162162

163163
/*/ Handle the request /*/

0 commit comments

Comments
 (0)