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

ConstrainTrait::setConstrain()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
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