Completed
Push — master ( 8bbcd1...4bee86 )
by Denis
04:24
created

ServerErrorException::getJsonRpcCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace PhpJsonRpc\Error;
4
5
class ServerErrorException extends JsonRpcException
6
{
7
    /**
8
     * @inheritdoc
9
     */
10
    public function getJsonRpcCode(): int
11
    {
12
        return self::SERVER_ERROR;
13
    }
14
}
15