1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Apply fixes from StyleCI (#1371)

[ci skip] [skip ci]
This commit is contained in:
Franz Liedke
2018-02-15 16:57:18 +01:00
committed by GitHub
parent ba96f311a9
commit 0b478379fc

View File

@@ -194,7 +194,7 @@ class Extension implements Arrayable
if (file_exists($file)) {
$extension = pathinfo($file, PATHINFO_EXTENSION);
if (!array_key_exists($extension, self::LOGO_MIMETYPES)) {
if (! array_key_exists($extension, self::LOGO_MIMETYPES)) {
throw new \RuntimeException('Invalid image type');
}