| @@ -46,7 +46,7 @@ | ||
| 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>"; | 
| @@ -18,7 +18,7 @@ discard block | ||
| 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 | ||
| 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 | |
| @@ -15,7 +15,7 @@ | ||
| 15 | 15 | */ | 
| 16 | 16 | public function __construct($ctrl) | 
| 17 | 17 |      { | 
| 18 | - $this->ctrl = $ctrl; | |
| 18 | + $this->ctrl = $ctrl; | |
| 19 | 19 | } | 
| 20 | 20 | |
| 21 | 21 | /** | 
| @@ -15,7 +15,7 @@ | ||
| 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 | /** | 
| @@ -13,7 +13,7 @@ | ||
| 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 | /** | 
| @@ -14,7 +14,7 @@ | ||
| 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 | /** | 
| @@ -15,7 +15,7 @@ | ||
| 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 | /** | 
| @@ -95,11 +95,11 @@ discard block | ||
| 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 | ||
| 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 | |
| @@ -14,7 +14,7 @@ | ||
| 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 | |