Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed May 21, 2022
1 parent 83d9a20 commit a337b6b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit a337b6b

Please sign in to comment.