diff --git a/htdocs/api/index.php b/htdocs/api/index.php index 2fba9fbb554..f605ff11d85 100644 --- a/htdocs/api/index.php +++ b/htdocs/api/index.php @@ -45,7 +45,7 @@ if (!$res) die("Include of main fails"); require_once DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/AutoLoader.php'; -call_user_func(function () { +call_user_func(function() { $loader = Luracast\Restler\AutoLoader::instance(); spl_autoload_register($loader); return $loader;