We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52d4567 commit 58c4efaCopy full SHA for 58c4efa
src/Tools/VirtualTables.php
@@ -33,11 +33,11 @@ public function get($tableName) {
33
if($this->has($tableName)) {
34
$table = $this->virtualTables[(string) $tableName];
35
if($table instanceof \Closure) {
36
- $params = [];
37
if($tableName instanceof VirtualTable) {
38
$params = $tableName->getParams();
+ return call_user_func($table, $params);
39
}
40
- return call_user_func($table, $params);
+ return call_user_func($table);
41
42
return $table;
43
0 commit comments