Completed
Pull Request — master (#46)
by Michael
03:12
created
src/Traits/CollectionTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
             } else {
78 78
                 throw new \BadMethodCallException(
79 79
                     "Call to undefined method. `$method` does not exist in "
80
-                    . get_called_class() . " and it is not part of the Collection API"
80
+                    . get_called_class()." and it is not part of the Collection API"
81 81
                 );
82 82
             }
83 83
         }
Please login to merge, or discard this patch.
src/FileLoader.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         if (!empty($this->unsupportedFiles)) {
129 129
             $badFiles = implode(", ", $this->unsupportedFiles);
130 130
             throw new UnsupportedFilesException(
131
-                'The file(s) ' . $badFiles . ' are not supported by the available decoders.'
131
+                'The file(s) '.$badFiles.' are not supported by the available decoders.'
132 132
             );
133 133
         }
134 134
 
@@ -176,11 +176,11 @@  discard block
 block discarded – undo
176 176
      */
177 177
     protected function checkAndAddDefaultDecoder($mimeType)
178 178
     {
179
-        $decoderClass = ucfirst($mimeType) . "Decoder";
179
+        $decoderClass = ucfirst($mimeType)."Decoder";
180 180
 
181
-        if (file_exists(__DIR__ . '/Decoders/' . $decoderClass . '.php') && !$this->isSupportedMimeType($mimeType)) {
181
+        if (file_exists(__DIR__.'/Decoders/'.$decoderClass.'.php') && !$this->isSupportedMimeType($mimeType)) {
182 182
             $nameSpace = "Michaels\\Manager\\Decoders\\";
183
-            $fullQualifiedClassName = $nameSpace . $decoderClass;
183
+            $fullQualifiedClassName = $nameSpace.$decoderClass;
184 184
             $decoder = new $fullQualifiedClassName();
185 185
             $this->addDecoder($decoder);
186 186
         }
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
 
264 264
         } else {
265 265
             // We are namespacing using the file's name
266
-            $filename = rtrim($file->getBasename(), '.' . $file->getExtension());
266
+            $filename = rtrim($file->getBasename(), '.'.$file->getExtension());
267 267
             $namespace = $this->sanitizeNamespace($filename);
268 268
             return [$namespace, $file];
269 269
         }
Please login to merge, or discard this patch.