Skip to content

Commit

Permalink
workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdulici committed Jul 6, 2020
1 parent ebf355e commit af324b3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions bootstrap/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@

define('LARAVEL_START', microtime(true));

// workaround until https://github.com/lorisleiva/laravel-search-string/pull/21
if (! function_exists('resolve')) {
/**
* Resolve a service from the container.
*
* @param string $name
* @param array $parameters
* @return mixed
*/
function resolve($name, array $parameters = [])
{
return app($name, $parameters);
}
}

// Load composer for core
require __DIR__ . '/../vendor/autoload.php';

Expand Down

0 comments on commit af324b3

Please sign in to comment.