Passed
Push — master ( 62b981...b05b09 )
by Iman
03:56
created
src/CBCoreModule/Index/ValueCalculator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     private function download($value)
47 47
     {
48 48
         $url = (strpos($value, 'http://')) ? $value : asset($value).'?download=1';
49
-        if (! $value) {
49
+        if (!$value) {
50 50
             return " - ";
51 51
         }
52 52
         return "<a class='btn btn-xs btn-primary' href='$url' target='_blank' title='Download File'><i class='fa fa-download'>".cbTrans('button_download_file')."</i></a>";
Please login to merge, or discard this patch.
src/CBCoreModule/RelationHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
         //Looping Data Input Again After Insert
19 19
         foreach ($data as $row) {
20 20
             $name = $row['name'];
21
-            if (! $name) {
21
+            if (!$name) {
22 22
                 continue;
23 23
             }
24 24
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     {
55 55
         list($pivotTable, $foreignKey2, $foreignKey) = $this->deleteFromPivot($row, $id);
56 56
 
57
-        if (! $inputData) {
57
+        if (!$inputData) {
58 58
             return null;
59 59
         }
60 60
 
Please login to merge, or discard this patch.
src/CBCoreModule/DataRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function __construct($ctrl)
17 17
     {
18
-        $this->ctrl =  $ctrl;
18
+        $this->ctrl = $ctrl;
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
src/Modules/SettingModule/CbSettingsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function boot()
16 16
     {
17 17
         $this->app['view']->addNamespace('CbSettings', __DIR__.'/views');
18
-        $this->loadRoutesFrom( __DIR__.'/settings_routes.php');
18
+        $this->loadRoutesFrom(__DIR__.'/settings_routes.php');
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
src/Modules/NotificationsModule/CbNotificationsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function boot()
15 15
     {
16
-        $this->loadRoutesFrom( __DIR__.'/notifications_routes.php');
16
+        $this->loadRoutesFrom(__DIR__.'/notifications_routes.php');
17 17
     }
18 18
 
19 19
     /**
Please login to merge, or discard this patch.
src/Modules/MenuModule/CbMenuServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function boot()
15 15
     {
16 16
         $this->app['view']->addNamespace('CbMenu', __DIR__.'/views');
17
-        $this->loadRoutesFrom( __DIR__.'/menus_routes.php');
17
+        $this->loadRoutesFrom(__DIR__.'/menus_routes.php');
18 18
     }
19 19
 
20 20
     /**
Please login to merge, or discard this patch.
src/Modules/StatisticModule/CbStatisticsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function boot()
16 16
     {
17 17
         $this->app['view']->addNamespace('CbStatistics', __DIR__.'/views');
18
-        $this->loadRoutesFrom( __DIR__.'/statistic_route.php');
18
+        $this->loadRoutesFrom(__DIR__.'/statistic_route.php');
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.
src/Modules/StatisticModule/AdminStatisticBuilderController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -95,11 +95,11 @@  discard block
 block discarded – undo
95 95
         $component_name = $component->component_name;
96 96
         $area_name = $component->area_name;
97 97
         $config = json_decode($component->config);
98
-        if (! $config) {
98
+        if (!$config) {
99 99
             return response()->json(compact('componentID', 'layout'));
100 100
         }
101 101
         foreach ($config as $key => $value) {
102
-            if (! $value) {
102
+            if (!$value) {
103 103
                 continue;
104 104
             }
105 105
             $command = 'showFunction';
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
             'name' => 'Untitled',
128 128
         ];
129 129
 
130
-        if (! $data['created_at'] && Schema::hasColumn('cms_statistic_components', 'created_at')) {
130
+        if (!$data['created_at'] && Schema::hasColumn('cms_statistic_components', 'created_at')) {
131 131
             $data['created_at'] = date('Y-m-d H:i:s');
132 132
         }
133 133
 
Please login to merge, or discard this patch.
src/Modules/PrivilegeModule/CbPrivilegesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     public function boot()
15 15
     {
16 16
         $this->app['view']->addNamespace('CbPrivilege', __DIR__.'/views');
17
-        $this->loadRoutesFrom( __DIR__.'/privileges_routes.php');
17
+        $this->loadRoutesFrom(__DIR__.'/privileges_routes.php');
18 18
         $this->publishes([__DIR__.'/localization' => resource_path('lang/crudbooster')], 'cb_localization');
19 19
     }
20 20
 
Please login to merge, or discard this patch.