diff --git a/src/Html/DataTableHtml.php b/src/Html/DataTableHtml.php index f5b7930..1675b23 100644 --- a/src/Html/DataTableHtml.php +++ b/src/Html/DataTableHtml.php @@ -20,6 +20,10 @@ abstract class DataTableHtml implements DataTableHtmlBuilder */ public static function make() { + if (func_get_args()) { + return (new static(...func_get_args()))->handle(); + } + return app(static::class)->handle(); }