| Total Complexity | 4 | 
| Total Lines | 42 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | class PlainResponseErrorHandler extends Handler  | 
            ||
| 18 | { | 
            ||
| 19 | |||
| 20 | use WhoopsDebugTrait;  | 
            ||
| 21 | use WhoopsHeaderTrait;  | 
            ||
| 22 | |||
| 23 | /**  | 
            ||
| 24 | * @var bool  | 
            ||
| 25 | */  | 
            ||
| 26 | private $returnFrames = false;  | 
            ||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @param bool|null $returnFrames  | 
            ||
| 30 | * @return bool|$this  | 
            ||
| 31 | */  | 
            ||
| 32 | public function addTraceToOutput($returnFrames = null)  | 
            ||
| 33 |     { | 
            ||
| 34 |         if (func_num_args() == 0) { | 
            ||
| 35 | return $this->returnFrames;  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | $this->returnFrames = (bool)$returnFrames;  | 
            ||
| 39 | return $this;  | 
            ||
| 40 | }  | 
            ||
| 41 | |||
| 42 | /**  | 
            ||
| 43 | * @return int  | 
            ||
| 44 | */  | 
            ||
| 45 | public function handle()  | 
            ||
| 59 | }  | 
            ||
| 60 | }  | 
            ||
| 61 |