Test Failed
Push — develop ( 99d0ad...a91eee )
by Jens
47:28 queued 25:36
created

QueryTimedOutError   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 4
c 1
b 0
f 1
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldDefinitions() 0 5 1
1
<?php
2
3
4
namespace Commercetools\Core\Error;
5
6
/**
7
 * @package Commercetools\Core\Error
8
 *
9
 * @method string getCode()
10
 * @method QueryTimedOutError setCode(string $code = null)
11
 * @method string getMessage()
12
 * @method QueryTimedOutError setMessage(string $message = null)
13
 */
14
class QueryTimedOutError extends ApiError
15
{
16
    const CODE = 'QueryTimedOut';
17
18
    public function fieldDefinitions()
19
    {
20
        $definitions = parent::fieldDefinitions();
21
22
        return $definitions;
23
    }
24
}
25