Completed
Push — master ( b7e6d7...fe783a )
by Nate
10:27 queued 08:34
created

fixedOrderColumn()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/organization/license
6
 * @link       https://www.flipboxfactory.com/software/organization/
7
 */
8
9
namespace flipbox\organizations\db;
10
11
/**
12
 * @author Flipbox Factory <[email protected]>
13
 * @since 1.0.0
14
 */
15
class UserOrganizationAssociationQuery extends UserAssociationQuery
16
{
17
    /**
18
     * The sort order attribute
19
     */
20
    const SORT_ORDER_ATTRIBUTE = 'userOrder';
21
22
    /**
23
     * @inheritdoc
24
     */
25
    protected function fixedOrderColumn(): string
26
    {
27
        return 'userId';
28
    }
29
}
30