Passed
Push — master ( e8d451...9db9c5 )
by Ferry
05:38 queued 02:28
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/ModuleGenerator/Step4Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Modules/FileManagerModule/CbFileManagerServiceProvider.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('CbFileManager', __DIR__.'/views');
17
-        $this->loadRoutesFrom( __DIR__.'/file_manager_routes.php');
17
+        $this->loadRoutesFrom(__DIR__.'/file_manager_routes.php');
18 18
     }
19 19
 
20 20
     /**
Please login to merge, or discard this patch.
src/helpers/GoogleFCM.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
     
11 11
     public function send($regID, $data)
12 12
     {
13
-        if (! $data['title'] || ! $data['content']) {
13
+        if (!$data['title'] || !$data['content']) {
14 14
             return 'title , content null !';
15 15
         }
16 16
 
Please login to merge, or discard this patch.
src/controllers/Helpers/IndexExport.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,9 +52,9 @@
 block discarded – undo
52 52
      */
53 53
     private function exportExcelAs($filename, $response, $orientation, $fmt)
54 54
     {
55
-        return Excel::create($filename, function ($excel) use ($response, $orientation, $filename) {
55
+        return Excel::create($filename, function($excel) use ($response, $orientation, $filename) {
56 56
             $excel->setTitle($filename)->setCreator("crudbooster.com")->setCompany(cbGetsetting('appname'));
57
-            $excel->sheet($filename, function ($sheet) use ($response, $orientation) {
57
+            $excel->sheet($filename, function($sheet) use ($response, $orientation) {
58 58
                 $sheet->setOrientation($orientation);
59 59
                 $sheet->loadview('crudbooster::export', $response);
60 60
             });
Please login to merge, or discard this patch.
src/helpers/Time.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             }
32 32
         }
33 33
 
34
-        if (! $full) {
34
+        if (!$full) {
35 35
             $this->string = array_slice($this->string, 0, 1);
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Modules/ModuleGenerator/FileManipulator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@
 block discarded – undo
229 229
 
230 230
     public static function stringify($input, $indent = "")
231 231
     {
232
-        if (! is_array($input)) {
232
+        if (!is_array($input)) {
233 233
             return var_export($input, true);
234 234
         }
235 235
         $buffer = [];
Please login to merge, or discard this patch.