File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/CodeManipulation/Actions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1414
1515const CALL_INTERCEPTION_CODE = '
1616 $__pwClosureName = __NAMESPACE__ ? __NAMESPACE__ . " \\\\{closure}" : " \\\\{closure}";
17- $__pwClass = (__CLASS__ && __FUNCTION__ !== $__pwClosureName) ? __CLASS__ : ' ' ;
17+ $__pwClass = (__CLASS__ && __FUNCTION__ !== $__pwClosureName) ? __CLASS__ : "" ;
1818 if (!empty(\Patchwork\CallRerouting\State::$routes[$__pwClass][__FUNCTION__])) {
1919 $__pwCalledClass = $__pwClass ? \get_called_class() : null;
2020 $__pwFrame = \count(\debug_backtrace(0));
2929
3030const CALL_INTERCEPTION_CODE_VOID_TYPED = '
3131 $__pwClosureName = __NAMESPACE__ ? __NAMESPACE__ . " \\\\{closure}" : " \\\\{closure}";
32- $ __pwClass = (__CLASS__ && __FUNCTION__ !== $ __pwClosureName ) ? __CLASS__ : '' ;
32+ $__pwClass = (__CLASS__ && __FUNCTION__ !== $__pwClosureName) ? __CLASS__ : "" ;
3333 if (!empty(\Patchwork\CallRerouting\State::$routes[$__pwClass][__FUNCTION__])) {
3434 $__pwCalledClass = $__pwClass ? \get_called_class() : null;
3535 $__pwFrame = \count(\debug_backtrace(0));
4747
4848const CALL_INTERCEPTION_CODE_NEVER_TYPED = '
4949 $__pwClosureName = __NAMESPACE__ ? __NAMESPACE__ . " \\\\{closure}" : " \\\\{closure}";
50- $ __pwClass = (__CLASS__ && __FUNCTION__ !== $ __pwClosureName ) ? __CLASS__ : '' ;
50+ $__pwClass = (__CLASS__ && __FUNCTION__ !== $__pwClosureName) ? __CLASS__ : "" ;
5151 if (!empty(\Patchwork\CallRerouting\State::$routes[$__pwClass][__FUNCTION__])) {
5252 $__pwCalledClass = $__pwClass ? \get_called_class() : null;
5353 $__pwFrame = \count(\debug_backtrace(0));
You can’t perform that action at this time.
0 commit comments