Skip to content

Commit

Permalink
Merge branch '7.x' of github.com:BinarCode/laravel-restify into 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryk committed Sep 16, 2022
2 parents 7c09251 + c7d944c commit e8451af
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/Getters/Getter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
use JsonSerializable;
use ReturnTypeWillChange;
use Symfony\Component\HttpFoundation\Response;

use function tap;
use function throw_unless;

use Throwable;

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/RepositorySearchServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public function test_can_search_using_belongs_to_field_with_custom_foreign_key()
]);

PostRepository::$related = [
'editor' => BelongsTo::make('editor', UserRepository::class)->searchable([
'editor' => BelongsTo::make('editor', UserRepository::class)->searchable([
'users.name',
]),
];
Expand Down
1 change: 0 additions & 1 deletion tests/Fields/FieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Binaryk\LaravelRestify\Tests\IntegrationTest;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Routing\Route;

use function PHPUnit\Framework\assertInstanceOf;
use function PHPUnit\Framework\assertSame;

Expand Down

0 comments on commit e8451af

Please sign in to comment.