| @@ 67-69 (lines=3) @@ | ||
| 64 | } |
|
| 65 | if (is_array($arg) && sizeof($arg) === 2) { |
|
| 66 | if (isset($arg[0]) && $arg[0] instanceof \PHPDaemon\WebSocket\Route) { |
|
| 67 | if (isset($arg[1]) && is_string($arg[1]) && strncmp($arg[1], 'remote_', 7) === 0) { |
|
| 68 | return true; |
|
| 69 | } |
|
| 70 | } |
|
| 71 | } |
|
| 72 | $arg = null; |
|
| @@ 98-100 (lines=3) @@ | ||
| 95 | $m = '__CALLBACK__'; |
|
| 96 | } elseif (is_array($m)) { |
|
| 97 | if (sizeof($m) === 2 && isset($m[0]) && $m[0] instanceof \PHPDaemon\WebSocket\Route) { |
|
| 98 | if (isset($m[1]) && is_string($m[1]) && strncmp($m[1], 'remote_', 7) === 0) { |
|
| 99 | $m = '__CALLBACK__'; |
|
| 100 | } |
|
| 101 | } else { |
|
| 102 | foreach ($m as &$v) { |
|
| 103 | static::toJsonDebugResursive($v); |
|