Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in UrlShortenerManager::resolve() #44

Open
eric-mendoza opened this issue Jun 23, 2020 · 0 comments
Open

Error in UrlShortenerManager::resolve() #44

eric-mendoza opened this issue Jun 23, 2020 · 0 comments

Comments

@eric-mendoza
Copy link

Hello,

Trying to use it in laravel 7.16.1. Installed with:
composer require laracrafts/laravel-url-shortener

Using this simple code:

$shortener = url()->shortener()->driver();
$shortener->shorten('www.google.com');

Throws me the following error:

> Argument 1 passed to LaraCrafts\UrlShortener\UrlShortenerManager::resolve() must be of the type string, null given, called in C:\...\vendor\laracrafts\laravel-url-shortener\src\UrlShortenerManager.php on line 267
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant