Completed
Pull Request — master (#150)
by
unknown
02:30
created

PlainTextRenderer   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 3 1
1
<?php
2
namespace Yiisoft\Yii\Web\ErrorHandler;
3
4
final class PlainTextRenderer extends ThrowableRenderer
5
{
6 3
    public function render(\Throwable $t): string
7
    {
8 3
        return  $this->convertThrowableToVerboseString($t);
9
    }
10
}
11