We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | $this->executeProcess('mkdir -p public/uploads'); |
| 54 | 54 | break; |
| 55 | 55 | case '\\': // windows |
| 56 | - if (! file_exists('public\uploads')) { |
|
| 56 | + if (!file_exists('public\uploads')) { |
|
| 57 | 57 | $this->executeProcess('mkdir public\uploads'); |
| 58 | 58 | } |
| 59 | 59 | break; |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace Backpack\CRUD\PanelTraits; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Database\Eloquent\Model; |
| 6 | -use Illuminate\Database\Eloquent\Relations\HasOne; |
|
| 7 | -use Illuminate\Database\Eloquent\Relations\HasMany; |
|
| 8 | 6 | use Illuminate\Database\Eloquent\Relations\BelongsTo; |
| 7 | +use Illuminate\Database\Eloquent\Relations\HasMany; |
|
| 8 | +use Illuminate\Database\Eloquent\Relations\HasOne; |
|
| 9 | 9 | |
| 10 | 10 | trait Create |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Backpack\CRUD\PanelTraits; |
| 4 | 4 | |
| 5 | -use Illuminate\Database\Eloquent\Relations\HasOne; |
|
| 6 | 5 | use Illuminate\Database\Eloquent\Relations\HasMany; |
| 6 | +use Illuminate\Database\Eloquent\Relations\HasOne; |
|
| 7 | 7 | |
| 8 | 8 | trait Update |
| 9 | 9 | { |
@@ -6,7 +6,7 @@ |
||
| 6 | 6 | <div @include('crud::inc.field_wrapper_attributes') > |
| 7 | 7 | <label>{!! $field['label'] !!}</label> |
| 8 | 8 | @include('crud::inc.field_translatable_icon') |
| 9 | - <?php $entity_model = $crud->getRelationModel($field['entity'], - 1); ?> |
|
| 9 | + <?php $entity_model = $crud->getRelationModel($field['entity'], - 1); ?> |
|
| 10 | 10 | <select |
| 11 | 11 | name="{{ $field['name'] }}" |
| 12 | 12 | style="width: 100%" |