Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
hailwood authored and github-actions[bot] committed Jun 21, 2024
1 parent 1f409fa commit 0566b3d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

namespace Webfox\InertiaDataProviders;

use ReflectionClass;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Jsonable;
use Inertia\LazyProp;
use Inertia\Response;
use ReflectionClass;
use ReflectionMethod;
use ReflectionProperty;
use ReflectionNamedType;
use Illuminate\Contracts\Support\Jsonable;
use ReflectionProperty;
use Symfony\Component\VarDumper\VarDumper;
use Illuminate\Contracts\Support\Arrayable;
use Webfox\InertiaDataProviders\AttributeNameFormatters\AttributeNameFormatter;

abstract class DataProvider implements Arrayable, Jsonable
Expand Down Expand Up @@ -52,7 +52,7 @@ public function toArray(): array
->merge($staticData)
->merge($convertedProperties)
->merge($convertedMethods)
->mapWithKeys(fn($value, $key) => [$this->attributeNameFormatter()($key) => $value])
->mapWithKeys(fn ($value, $key) => [$this->attributeNameFormatter()($key) => $value])
->toArray();
}

Expand Down

0 comments on commit 0566b3d

Please sign in to comment.