Unverified Commit cc241498 authored by Freek Van der Herten's avatar Freek Van der Herten Committed by GitHub
Browse files

Update README.md

parent 8ac42b0f
......@@ -32,9 +32,9 @@ echo $url->withHost('github.com')->withPath('spatie');
Retrieve and transform query parameters:
```php
$url = Url::fromString('https://spatie.be/opensource?utm_source=github&utm_campaign=pacakges');
$url = Url::fromString('https://spatie.be/opensource?utm_source=github&utm_campaign=packages');
echo $url->getQuery(); // 'utm_source=github&utm_campaign=pacakges'
echo $url->getQuery(); // 'utm_source=github&utm_campaign=packages'
echo $url->getQueryParameter('utm_source'); // 'github'
echo $url->withoutQueryParameter('utm_campaign'); // 'https://spatie.be/opensource?utm_source=github'
```
......@@ -77,7 +77,7 @@ Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recen
## Testing
``` bash
$ composer test
composer test
```
## Contributing
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment