@@ -102,7 +102,7 @@ |
||
| 102 | 102 | public static function validateWithoutPrefix(string $value, &$outValue) |
| 103 | 103 | { |
| 104 | 104 | $length = strlen($value); |
| 105 | - if (0 == $length || 0 != $length % 2) { |
|
| 105 | + if (0 == $length || 0 != $length%2) { |
|
| 106 | 106 | return false; |
| 107 | 107 | } |
| 108 | 108 | |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | $type1 = $end1->getResourceType(); |
| 67 | 67 | $type2 = $end2->getResourceType(); |
| 68 | 68 | |
| 69 | - if ($type1 === $type2 && $prop1 === $prop2) { |
|
| 69 | + if ($type1 === $type2 && $prop1 === $prop2) { |
|
| 70 | 70 | throw new InvalidArgumentException( |
| 71 | 71 | Messages::resourceAssociationSetSelfReferencingAssociationCannotBeBiDirectional() |
| 72 | 72 | ); |