Passed
Push — master ( 8f5590...9d44dc )
by CodexShaper
17:13
created
src/Traits/RecordTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@  discard block
 block discarded – undo
43 43
         $files  = $request->file($column);
44 44
         $values = [];
45 45
         foreach ($files as $file) {
46
-            $fileName = Str::random(config('dbm.filesystem.random_length')) . '.' . $file->getClientOriginalExtension();
47
-            $path     = trim(config('dbm.filesystem.dir'), '/') . DIRECTORY_SEPARATOR . $tableName;
46
+            $fileName = Str::random(config('dbm.filesystem.random_length')).'.'.$file->getClientOriginalExtension();
47
+            $path     = trim(config('dbm.filesystem.dir'), '/').DIRECTORY_SEPARATOR.$tableName;
48 48
             $file->storeAs($path, $fileName);
49 49
             $values[] = $fileName;
50 50
         }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
             $fieldType = $this->getFieldType($tableName, $column);
79 79
 
80 80
             if (!in_array($fieldType, Type::getTypes())) {
81
-                $this->generateError([$fieldType . " type not supported."]);
81
+                $this->generateError([$fieldType." type not supported."]);
82 82
             }
83 83
 
84 84
             if ($fieldType != 'timestamp') {
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
         } else if ($action == 'update' && isset($settings->update)) {
251 251
             $updateSettings = $settings->update;
252 252
             $localKey       = $updateSettings->localKey;
253
-            $rules          = $updateSettings->rules . ',' . $columns->{$localKey};
253
+            $rules          = $updateSettings->rules.','.$columns->{$localKey};
254 254
         }
255 255
 
256 256
         return $rules;
Please login to merge, or discard this patch.
database/seeds/DatabaseManagerSeeder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 class DatabaseManagerSeeder extends Seeder
6 6
 {
7
-    protected $seedersPath = __DIR__ . '/../../database/seeds/';
7
+    protected $seedersPath = __DIR__.'/../../database/seeds/';
8 8
 
9 9
     /**
10 10
      * Seed the application's database.
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 
20 20
         foreach ($seeds as $class) {
21 21
 
22
-            $file = $this->seedersPath . $class . '.php';
22
+            $file = $this->seedersPath.$class.'.php';
23 23
             if (file_exists($file) && !class_exists($class)) {
24 24
                 require_once $file;
25 25
             }
Please login to merge, or discard this patch.