We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function addPropertyConstraint($property, Constraint $constraint) |
||
20 | { |
||
21 | if (!isset($this->properties[$property])) { |
||
22 | $this->properties[$property] = new PropertyMetadata($property); |
||
23 | |||
24 | $this->addPropertyMetadata($this->properties[$property]); |
||
25 | } |
||
26 | |||
27 | $constraint->addImplicitGroupName($this->getDefaultGroup()); |
||
28 | |||
29 | $this->properties[$property]->addConstraint($constraint); |
||
30 | |||
31 | return $this; |
||
32 | } |
||
41 |