Completed
Push — master ( 4b89b9...dd9abc )
by Jens
10:35
created

PaymentCollection::indexRow()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 9
Code Lines 6

Duplication

Lines 9
Ratio 100 %

Code Coverage

Tests 5
CRAP Score 3.0416
Metric Value
dl 9
loc 9
ccs 5
cts 6
cp 0.8333
rs 9.6666
cc 3
eloc 6
nc 3
nop 2
crap 3.0416
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