Skip to content

Commit b48f1e2

Browse files
authored
fix: use ::class instead of string for class name (#667)
1 parent 17083be commit b48f1e2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Algolia\AlgoliaSearch;
44

5+
use Algolia\AlgoliaSearch\Support\Helpers;
6+
57
function api_path($pathFormat, $args = null, $_ = null)
68
{
7-
return call_user_func_array(['\Algolia\AlgoliaSearch\Support\Helpers', 'apiPath'], func_get_args());
9+
return call_user_func_array([Helpers::class, 'apiPath'], func_get_args());
810
}

0 commit comments

Comments
 (0)