Code Duplication    Length = 8-8 lines in 2 locations

src/Debug.php 2 locations

@@ 312-319 (lines=8) @@
309
				{
310
					$sub_return .= $this->format($key, $val, $level + 1);
311
				}
312
				if (count($var) > 0)
313
				{
314
					$return .= "<span id=\"$id\" style=\"display: ".(($this->jsOpenToggle or $level == 0)?"block":"none").";\">$sub_return</span>";
315
				}
316
				else
317
				{
318
					$return .= $sub_return;
319
				}
320
			}
321
322
		}
@@ 405-412 (lines=8) @@
402
				}
403
			}
404
405
			if (count($vars) > 0)
406
			{
407
				$return .= "<span id=\"$id\" style=\"display: ".($this->jsOpenToggle?"block":"none").";\">$sub_return</span>";
408
			}
409
			else
410
			{
411
				$return .= $sub_return;
412
			}
413
		}
414
		else
415
		{