Passed
Push — master ( 1fadb0...f949a1 )
by Mihail
08:15
created
Extend/Core/Arch/ApiController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Apps\Model\Front\Profile;
4 4
 
5 5
 use Apps\ActiveRecord\Blacklist;
6
-use Ffcms\Core\App;
7 6
 use Ffcms\Core\Arch\Model;
8 7
 use Ffcms\Core\Interfaces\iUser;
9 8
 
Please login to merge, or discard this patch.
Apps/Controller/Api/Main.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         $connector = new \elFinderConnector(new \elFinder([
38 38
             'locale' => '',
39 39
             'roots' => [
40
-                ['driver' => 'LocalFileSystem', 'path' => root . '/upload/', 'URL' => App::$Alias->scriptUrl . '/upload/']
40
+                ['driver' => 'LocalFileSystem', 'path' => root.'/upload/', 'URL' => App::$Alias->scriptUrl.'/upload/']
41 41
             ]
42 42
         ]));
43 43
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         if (App::$Cache->get('download.ffcms.api.news.'.$this->lang) !== null) {
106 106
             $news = App::$Cache->get('download.ffcms.api.news.'.$this->lang);
107 107
         } else {
108
-            $news = Url::download('https://ffcms.org/api/api/news?lang=' . $this->lang);
108
+            $news = Url::download('https://ffcms.org/api/api/news?lang='.$this->lang);
109 109
             if ($news !== null && !Str::likeEmpty($news)) {
110 110
                 App::$Cache->set('download.ffcms.api.news.'.$this->lang, $news, 3600 * 12);
111 111
             }
Please login to merge, or discard this patch.