Skip to content

Commit ca05aab

Browse files
committed
Pint fixes
1 parent 07422f5 commit ca05aab

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

src/Exceptions/LogicException.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@
44

55
namespace PDPhilip\Elasticsearch\Exceptions;
66

7-
class LogicException extends LaravelElasticsearchException
8-
{
9-
10-
}
7+
class LogicException extends LaravelElasticsearchException {}

tests/Eloquent/ElasticsearchConnectionOptionsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
use Workbench\App\Models\Post;
6-
use Workbench\App\Models\PostUnsafe;
7-
use Workbench\App\Models\Product;
8-
use Workbench\App\Models\ProductUnsafe;
5+
use Workbench\App\Models\Post;
6+
use Workbench\App\Models\PostUnsafe;
7+
use Workbench\App\Models\Product;
8+
use Workbench\App\Models\ProductUnsafe;
99

1010
test('whereExact when Unsafe queries is used and a keyword is not specified.', function () {
1111
Product::factory()->state(['name' => 'John Smith'])->create();

workbench/app/Models/PostUnsafe.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class PostUnsafe extends Model
2323
use HasFactory;
2424

2525
protected $connection = 'elasticsearch_unsafe';
26+
2627
protected $index = 'products';
2728

2829
// const MAX_SIZE = 5;

workbench/app/Models/ProductUnsafe.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ class ProductUnsafe extends Model
4141
use SoftDeletes;
4242

4343
protected $connection = 'elasticsearch_unsafe';
44+
4445
protected $index = 'products';
4546

4647
const MAX_SIZE = 10000;

0 commit comments

Comments
 (0)