Skip to content

Commit 0566b3d

Browse files
hailwoodgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 1f409fa commit 0566b3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/DataProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
namespace Webfox\InertiaDataProviders;
66

7-
use ReflectionClass;
7+
use Illuminate\Contracts\Support\Arrayable;
8+
use Illuminate\Contracts\Support\Jsonable;
89
use Inertia\LazyProp;
910
use Inertia\Response;
11+
use ReflectionClass;
1012
use ReflectionMethod;
11-
use ReflectionProperty;
1213
use ReflectionNamedType;
13-
use Illuminate\Contracts\Support\Jsonable;
14+
use ReflectionProperty;
1415
use Symfony\Component\VarDumper\VarDumper;
15-
use Illuminate\Contracts\Support\Arrayable;
1616
use Webfox\InertiaDataProviders\AttributeNameFormatters\AttributeNameFormatter;
1717

1818
abstract class DataProvider implements Arrayable, Jsonable
@@ -52,7 +52,7 @@ public function toArray(): array
5252
->merge($staticData)
5353
->merge($convertedProperties)
5454
->merge($convertedMethods)
55-
->mapWithKeys(fn($value, $key) => [$this->attributeNameFormatter()($key) => $value])
55+
->mapWithKeys(fn ($value, $key) => [$this->attributeNameFormatter()($key) => $value])
5656
->toArray();
5757
}
5858

0 commit comments

Comments
 (0)