Browse Source

Fix CS as per PSR-12.

mscherer 6 years ago
parent
commit
071ebbac1c
2 changed files with 4 additions and 2 deletions
  1. 2 1
      src/Http/ServerRequest.php
  2. 2 1
      src/Validation/Validator.php

+ 2 - 1
src/Http/ServerRequest.php

@@ -447,7 +447,8 @@ class ServerRequest implements ArrayAccess, ServerRequestInterface
      */
     protected function _processFiles($post, $files)
     {
-        if (empty($files) ||
+        if (
+            empty($files) ||
             !is_array($files)
         ) {
             return $post;

+ 2 - 1
src/Validation/Validator.php

@@ -2590,7 +2590,8 @@ class Validator implements ArrayAccess, IteratorAggregate, Countable
             }
         }
 
-        if (($flags & self::EMPTY_FILE)
+        if (
+            ($flags & self::EMPTY_FILE)
             && $data instanceof UploadedFileInterface
             && $data->getError() === UPLOAD_ERR_NO_FILE
         ) {