Skip to content

Commit 1b34197

Browse files
committed
Fix dot helper for methods
1 parent 31bd54b commit 1b34197

File tree

1 file changed

+1
-1
lines changed
  • src/JsPhpize/Compiler/Helpers

1 file changed

+1
-1
lines changed

src/JsPhpize/Compiler/Helpers/Dot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function ($base) {
88
: (method_exists($base, $method = "get" . ucfirst($key))
99
? $base->$method()
1010
: (method_exists($base, $key)
11-
? $base->$key()
11+
? array($base, $key)
1212
: null
1313
)
1414
)

0 commit comments

Comments
 (0)