Completed
Push — develop ( c6f9f9...59e20d )
by Jens
09:32
created

PaymentCollection::getById()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 4
Ratio 100 %

Code Coverage

Tests 0
CRAP Score 2
Metric Value
dl 4
loc 4
ccs 0
cts 0
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Payment;
7
8
use Commercetools\Core\Model\Common\Collection;
9
10
/**
11
 * @package Commercetools\Core\Model\Payment
12
 * @link https://dev.commercetools.com/http-api-projects-payments.html#payment
13
 * @method PaymentCollection add(Payment $element)
14
 * @method Payment current()
15
 * @method Payment getAt($offset)
16
 */
17
class PaymentCollection extends Collection
18
{
19
    protected $type = '\Commercetools\Core\Model\Payment\Payment';
20
}
21