Skip to content

Commit e00f40d

Browse files
authored
Apply fixes from StyleCI (#224)
1 parent d192104 commit e00f40d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Http/Controllers/ProfileController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function __invoke(RestifyRequest $request)
2828
$meta = [];
2929

3030
if (method_exists($user, 'profile')) {
31-
$meta = (array)call_user_func([$user, 'profile'], $request);
31+
$meta = (array) call_user_func([$user, 'profile'], $request);
3232
}
3333

3434
return $this->response()
@@ -40,7 +40,7 @@ public function guessRepository(RestifyRequest $request): ?Repository
4040
{
4141
$repository = $request->repository('users');
4242

43-
if (!$repository) {
43+
if (! $repository) {
4444
return null;
4545
}
4646

tests/Fixtures/User/UserRepository.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Binaryk\LaravelRestify\Fields\Field;
66
use Binaryk\LaravelRestify\Http\Requests\RestifyRequest;
7-
use Binaryk\LaravelRestify\Repositories\Mergeable;
87
use Binaryk\LaravelRestify\Repositories\Repository;
98

109
/**

0 commit comments

Comments
 (0)