Skip to content

Commit e9d4379

Browse files
committed
Fix syntax error from prior (hasty) commit
1 parent 7e9400e commit e9d4379

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CodeManipulation/Actions/CallRerouting.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
const 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));
@@ -29,7 +29,7 @@
2929

3030
const 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));
@@ -47,7 +47,7 @@
4747

4848
const 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));

0 commit comments

Comments
 (0)