mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-29 18:19:53 +08:00
chore: fix code style
This commit is contained in:
committed by
github-actions[bot]
parent
168a28408a
commit
d7650e79ab
@@ -19,7 +19,6 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\Relations\Relation;
|
||||
use Illuminate\Database\Query\Expression;
|
||||
use Illuminate\Database\Query\JoinClause;
|
||||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Str;
|
||||
use Illuminate\Validation\Rule;
|
||||
@@ -1183,7 +1182,7 @@ class Select extends Field implements Contracts\HasAffixActions, Contracts\HasNe
|
||||
|
||||
if (is_bool($state = $this->getState())) {
|
||||
$state = $state ? 1 : 0;
|
||||
|
||||
|
||||
$this->state($state);
|
||||
|
||||
Arr::set($hydratedDefaultState, $this->getStatePath(), $state);
|
||||
|
||||
+1
-1
@@ -84,7 +84,7 @@ class SpatieMediaLibraryFileUpload extends FileUpload
|
||||
|
||||
if ($component->getVisibility() === 'private') {
|
||||
$conversion = $component->getConversion();
|
||||
|
||||
|
||||
try {
|
||||
$url = $media?->getTemporaryUrl(
|
||||
now()->addMinutes(5),
|
||||
|
||||
Reference in New Issue
Block a user