Failed Conditions
Push — multiproject/domainsettings ( c67fcc )
by Simon
04:29
created
includes/Validation/RequestValidationHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
         }
112 112
 
113 113
         // name is too long
114
-        if (mb_strlen(trim($request->getName())) > 500 ) {
114
+        if (mb_strlen(trim($request->getName())) > 500) {
115 115
             $errorList[ValidationError::NAME_EMPTY] = new ValidationError(ValidationError::NAME_TOO_LONG);
116 116
         }
117 117
 
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
                 /** @var RequestQueue|false $targetQueue */
249 249
                 $targetQueue = RequestQueue::getById($ban->getTargetQueue(), $this->database);
250 250
 
251
-                if ($targetQueue === false ) {
251
+                if ($targetQueue === false) {
252 252
                     $comment = new Comment();
253 253
                     $comment->setDatabase($this->database);
254 254
                     $comment->setRequest($request->getId());
Please login to merge, or discard this patch.