Passed
Branch master (32670a)
by Andri Desmana
08:36
created
src/IndoBankPublishCommand.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -60,14 +60,14 @@  discard block
 block discarded – undo
60 60
      * @param  string  $to
61 61
      * @return void
62 62
      */
63
-    protected function publishDirectory($from , $to)
63
+    protected function publishDirectory($from, $to)
64 64
     {
65
-        $exclude = array('..' , '.' , '.DS_Store');
66
-        $source = array_diff(scandir($from) , $exclude);
65
+        $exclude = array('..', '.', '.DS_Store');
66
+        $source = array_diff(scandir($from), $exclude);
67 67
 
68 68
         foreach ($source as $item) {
69
-            $this->info("Copying file: " . $to . $item);
70
-            File::copy($from . $item , $to . $item);
69
+            $this->info("Copying file: ".$to.$item);
70
+            File::copy($from.$item, $to.$item);
71 71
         }
72 72
     }
73 73
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $targetPath = app()->path()."/Models/";
82 82
 
83
-        if (!File::isDirectory($targetPath)){
83
+        if (!File::isDirectory($targetPath)) {
84 84
             File::makeDirectory($targetPath, 0777, true, true);
85 85
         }
86 86
 
Please login to merge, or discard this patch.
src/database/migrations/2021_08_08_100000_create_banks_tables.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
      */
21 21
     public function up()
22 22
     {
23
-        Schema::create('banks', function(Blueprint $table){
23
+        Schema::create('banks', function(Blueprint $table) {
24 24
             $table->id();
25
-            $table->string('sandi_bank',20);
25
+            $table->string('sandi_bank', 20);
26 26
             $table->string('nama_bank');
27 27
         });
28 28
     }
Please login to merge, or discard this patch.