Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
odan committed Jul 17, 2021
1 parent 213dff5 commit c8d6309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ but it's never part of your base path and the official url.
### Retrieving the base path

```php
$basePath = \Slim\Routing\RouteContext::fromRequest($request)->getBasePath(),
$basePath = \Slim\Routing\RouteContext::fromRequest($request)->getBasePath();
```

### Creating a relative url with the base path
Expand Down

0 comments on commit c8d6309

Please sign in to comment.