Passed
Push — master ( 050a87...3ade98 )
by Mihail
04:49
created
Apps/Model/Admin/Main/FormSettings.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Ffcms\Core\App;
6 6
 use Ffcms\Core\Arch\Model;
7
-use Ffcms\Core\Helper\Type\Obj;
8 7
 use Ffcms\Core\Helper\Type\Str;
9 8
 use Ffcms\Core\Interfaces\iUser;
10 9
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function getAvailableThemes($env_name)
105 105
     {
106
-        $path = root . '/Apps/View/' . $env_name . '/';
106
+        $path = root.'/Apps/View/'.$env_name.'/';
107 107
         if (!Directory::exist($path)) {
108 108
             return [];
109 109
         }
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     public function makeSave()
125 125
     {
126 126
         $toSave = App::$Security->strip_php_tags($this->getAllProperties());
127
-        $stringSave = '<?php return ' . Arr::exportVar($toSave, null, true) . ';';
127
+        $stringSave = '<?php return '.Arr::exportVar($toSave, null, true).';';
128 128
 
129 129
         $cfgPath = '/Private/Config/Default.php';
130 130
         if (File::exist($cfgPath) && File::writable($cfgPath)) {
Please login to merge, or discard this patch.