Completed
Push — develop ( 9f1019...8cff1c )
by Greg
01:53
created
app/Console/Commands/ExportCategories.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
              return;
46 46
          }
47 47
 
48
-         foreach ($categories as $category){
48
+         foreach ($categories as $category) {
49 49
              $accounts = $this->fecthAccounts(['category_id' => $category->id]);
50 50
 
51 51
              $name = normalise($category->name);
Please login to merge, or discard this patch.
app/Console/Commands/ExportGroups.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
              return;
46 46
          }
47 47
 
48
-         foreach ($groups as $group){
48
+         foreach ($groups as $group) {
49 49
             $accounts = $this->fecthAccounts(['group_id' => $group->id]);
50 50
 
51 51
              $name = normalise($group->name);
Please login to merge, or discard this patch.
app/Console/Commands/AbstractExportCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -104,11 +104,11 @@
 block discarded – undo
104 104
         return $count;
105 105
     }
106 106
 
107
-    final protected function fecthAccounts($filter=null)
107
+    final protected function fecthAccounts($filter = null)
108 108
     {
109 109
         $query = Account::where('status', Account::ACCOUNT_ENABLE);
110 110
 
111
-        if(is_null($filter) === false && is_array($filter)) {
111
+        if (is_null($filter) === false && is_array($filter)) {
112 112
           $query = $query->where($filter);
113 113
         }
114 114
 
Please login to merge, or discard this patch.