From a337b6b2d51027286979885125fa45e4d0ffdb8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Sat, 21 May 2022 16:07:31 +0200 Subject: [PATCH] DEBUG --- src/View.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/View.php b/src/View.php index 5b62b288fd..a40ed31bb4 100644 --- a/src/View.php +++ b/src/View.php @@ -91,6 +91,9 @@ class View extends AbstractView implements JsExpressionable public function __construct($label = []) { if (func_num_args() > 1) { // prevent bad usage + var_dump(func_get_args()); + debug_print_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS); + throw new \Error('Too many method arguments'); }