@@ 28-36 (lines=9) @@ | ||
25 | * @param bool|null $returnFrames |
|
26 | * @return bool|$this |
|
27 | */ |
|
28 | public function addTraceToOutput($returnFrames = null) |
|
29 | { |
|
30 | if (func_num_args() == 0) { |
|
31 | return $this->returnFrames; |
|
32 | } |
|
33 | ||
34 | $this->returnFrames = (bool) $returnFrames; |
|
35 | return $this; |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * @return int |
@@ 43-51 (lines=9) @@ | ||
40 | * @param bool|null $returnFrames |
|
41 | * @return bool|$this |
|
42 | */ |
|
43 | public function addTraceToOutput($returnFrames = null) |
|
44 | { |
|
45 | if (func_num_args() == 0) { |
|
46 | return $this->returnFrames; |
|
47 | } |
|
48 | ||
49 | $this->returnFrames = (bool) $returnFrames; |
|
50 | return $this; |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * @return int |