@@ -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 | /** |
@@ -15,7 +15,7 @@ |
||
15 | 15 | public function boot() |
16 | 16 | { |
17 | 17 | $this->app['view']->addNamespace('CbAuth', __DIR__.'/views'); |
18 | - $this->loadRoutesFrom( __DIR__.'/auth_routes.php'); |
|
18 | + $this->loadRoutesFrom(__DIR__.'/auth_routes.php'); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -10,7 +10,7 @@ |
||
10 | 10 | { |
11 | 11 | public function showForm($id) |
12 | 12 | { |
13 | - $controller = ModulesRepo::getControllerName($id);; |
|
13 | + $controller = ModulesRepo::getControllerName($id); ; |
|
14 | 14 | |
15 | 15 | $data = []; |
16 | 16 | $data['id'] = $id; |