Passed
Push — develop ( a94b80...f507c7 )
by nguereza
01:38
created
src/Upload.php 3 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,8 +146,8 @@
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-    * Whether the file is uploaded
150
-    */
149
+     * Whether the file is uploaded
150
+     */
151 151
     public function isUploaded(): bool
152 152
     {
153 153
         return count($this->files) > 0
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      */
199 199
     public function isValid(): bool
200 200
     {
201
-        if (! $this->isUploaded()) {
201
+        if (!$this->isUploaded()) {
202 202
             return false;
203 203
         }
204 204
         foreach ($this->files as $file) {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -66,8 +66,7 @@  discard block
 block discarded – undo
66 66
  * Class Upload
67 67
  * @package Platine\Upload
68 68
  */
69
-class Upload
70
-{
69
+class Upload {
71 70
     /**
72 71
      * Upload Storage
73 72
      * @var StorageInterface
@@ -248,8 +247,7 @@  discard block
 block discarded – undo
248 247
      * Return the uploaded file information
249 248
      * @return UploadFileInfo|array<int, UploadFileInfo>|bool
250 249
      */
251
-    public function getInfo()
252
-    {
250
+    public function getInfo() {
253 251
         return $this->uploadInfo;
254 252
     }
255 253
 
Please login to merge, or discard this patch.