]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/updater/UpdaterUtils.php
Apply PHP Code Beautifier on source code for linter automatic fixes
[github/shaarli/Shaarli.git] / application / updater / UpdaterUtils.php
index 828a49fc02ae5909e6ab4c5c3502421af581ec81..908bdc395f5bf46cbba5f1cfd09f7fdb6fbe6877 100644 (file)
@@ -19,7 +19,7 @@ class UpdaterUtils
                 return explode(';', $content);
             }
         }
-        return array();
+        return [];
     }
 
     /**
@@ -38,7 +38,7 @@ class UpdaterUtils
 
         $res = file_put_contents($updatesFilepath, implode(';', $updates));
         if ($res === false) {
-            throw new \Exception('Unable to write updates in '. $updatesFilepath . '.');
+            throw new \Exception('Unable to write updates in ' . $updatesFilepath . '.');
         }
     }
 }