Skip to content

Commit 8402593

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 3826c37 + 3a23e66 commit 8402593

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/DataProvider.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
<?php
2+
23
declare(strict_types=1);
34

45
namespace Webfox\InertiaDataProviders;
56

6-
use ReflectionClass;
7+
use Illuminate\Contracts\Support\Arrayable;
78
use Inertia\LazyProp;
89
use Inertia\Response;
10+
use ReflectionClass;
911
use ReflectionMethod;
10-
use ReflectionProperty;
1112
use ReflectionNamedType;
13+
use ReflectionProperty;
1214
use Symfony\Component\VarDumper\VarDumper;
13-
use Illuminate\Contracts\Support\Arrayable;
1415

1516
abstract class DataProvider implements Arrayable
1617
{
@@ -52,8 +53,9 @@ public function toArray(): array
5253
public function dump(): static
5354
{
5455
$response = new Response('', []);
55-
$props = $response->resolvePropertyInstances($this->toArray(), request());
56+
$props = $response->resolvePropertyInstances($this->toArray(), request());
5657
VarDumper::dump($props);
58+
5759
return $this;
5860
}
5961

0 commit comments

Comments
 (0)