Explorar o código

Apply fixes from StyleCI

StyleCI Bot %!s(int64=3) %!d(string=hai) anos
pai
achega
4dcf7cb6f2
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/Console/PublishCommand.php
  2. 1 1
      src/Form/Field/HasMany.php

+ 1 - 1
src/Console/PublishCommand.php

@@ -7,8 +7,8 @@ use Illuminate\Filesystem\Filesystem;
 use Illuminate\Support\ServiceProvider;
 use Illuminate\Support\Str;
 use League\Flysystem\Adapter\Local as LocalAdapter;
-use League\Flysystem\Local\LocalFilesystemAdapter;
 use League\Flysystem\Filesystem as Flysystem;
+use League\Flysystem\Local\LocalFilesystemAdapter;
 use League\Flysystem\MountManager;
 
 class PublishCommand extends Command

+ 1 - 1
src/Form/Field/HasMany.php

@@ -383,7 +383,7 @@ class HasMany extends Field
     {
         if ($this->parentRelationName) {
             // hasmany嵌套table时,需要重新设置行的默认key
-            return $this->parentRelationName . '_NKEY_';
+            return $this->parentRelationName.'_NKEY_';
         }
     }