Passed
Pull Request — master (#185)
by
unknown
02:16
created

ConstrainTrait::applyConstrain()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 7
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 1
dl 0
loc 7
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * Cycle DataMapper ORM
5
 *
6
 * @license   MIT
7
 * @author    Anton Titov (Wolfy-J)
8
 */
9
10
declare(strict_types=1);
11
12
namespace Cycle\ORM\Select\Traits;
13
14
class_alias(
15
    ScopeTrait::class,
16
    __NAMESPACE__ . '\ConstrainTrait'
17
);
18
19
20
if (false) {
21
    /**
22
     * @deprecated Use {@see ScopeTrait} instead.
23
     */
24
    trait ConstrainTrait
25
    {
26
        use ScopeTrait;
27
    }
28
}
29