Completed
Pull Request — master (#34)
by Robbie
02:34
created
src/MimeUploadValidator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
             if ($result === false) {
154 154
                 $extension = strtolower(pathinfo($this->tmpFile['name'], PATHINFO_EXTENSION));
155 155
                 $this->errors[] = _t(
156
-                    __CLASS__ . '.INVALIDMIME',
156
+                    __CLASS__.'.INVALIDMIME',
157 157
                     'File type does not match extension (.{extension})',
158 158
                     [
159 159
                         'extension' => $extension,
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
             }
165 165
         } catch (MimeUploadValidatorException $e) {
166 166
             $this->errors[] = _t(
167
-                __CLASS__ . '.FAILEDMIMECHECK',
167
+                __CLASS__.'.FAILEDMIMECHECK',
168 168
                 'MIME validation failed: {message}',
169 169
                 'Argument 1: Message about why MIME type detection failed',
170 170
                 ['message' => $e->getMessage()]
Please login to merge, or discard this patch.