@@ 119-121 (lines=3) @@ | ||
116 | } |
|
117 | if (is_array($arg) && sizeof($arg) === 2) { |
|
118 | if (isset($arg[0]) && $arg[0] instanceof \PHPDaemon\WebSocket\Route) { |
|
119 | if (isset($arg[1]) && is_string($arg[1]) && strncmp($arg[1], 'remote_', 7) === 0) { |
|
120 | return true; |
|
121 | } |
|
122 | } |
|
123 | } |
|
124 | $arg = null; |
|
@@ 243-245 (lines=3) @@ | ||
240 | } |
|
241 | elseif (is_array($m)) { |
|
242 | if (sizeof($m) === 2 && isset($m[0]) && $m[0] instanceof \PHPDaemon\WebSocket\Route) { |
|
243 | if (isset($m[1]) && is_string($m[1]) && strncmp($m[1], 'remote_', 7) === 0) { |
|
244 | $m = '__CALLBACK__'; |
|
245 | } |
|
246 | } else { |
|
247 | foreach ($m as &$v) { |
|
248 | static::toJsonDebugResursive($v); |