Completed
Push — master ( 1d7888...0497b4 )
by
unknown
03:57 queued 01:15
created
src/ConstraintCheck/Checker/ReferenceChecker.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,16 +35,16 @@
 block discarded – undo
35 35
 		];
36 36
 	}
37 37
 
38
-	public function checkConstraint( Context $context, Constraint $constraint ) {
39
-		if ( $context->getType() === Context::TYPE_REFERENCE ) {
40
-			return new CheckResult( $context, $constraint, [], CheckResult::STATUS_COMPLIANCE, '' );
38
+	public function checkConstraint(Context $context, Constraint $constraint) {
39
+		if ($context->getType() === Context::TYPE_REFERENCE) {
40
+			return new CheckResult($context, $constraint, [], CheckResult::STATUS_COMPLIANCE, '');
41 41
 		} else {
42
-			$message = wfMessage( 'wbqc-violation-message-reference' )->escaped();
43
-			return new CheckResult( $context, $constraint, [], CheckResult::STATUS_VIOLATION, $message );
42
+			$message = wfMessage('wbqc-violation-message-reference')->escaped();
43
+			return new CheckResult($context, $constraint, [], CheckResult::STATUS_VIOLATION, $message);
44 44
 		}
45 45
 	}
46 46
 
47
-	public function checkConstraintParameters( Constraint $constraint ) {
47
+	public function checkConstraintParameters(Constraint $constraint) {
48 48
 		// no parameters
49 49
 		return [];
50 50
 	}
Please login to merge, or discard this patch.