Skip to content

Commit

Permalink
fix: use ::class instead of string for class name (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
matzeeable committed May 4, 2021
1 parent 17083be commit b48f1e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace Algolia\AlgoliaSearch;

use Algolia\AlgoliaSearch\Support\Helpers;

function api_path($pathFormat, $args = null, $_ = null)
{
return call_user_func_array(['\Algolia\AlgoliaSearch\Support\Helpers', 'apiPath'], func_get_args());
return call_user_func_array([Helpers::class, 'apiPath'], func_get_args());
}

0 comments on commit b48f1e2

Please sign in to comment.