Skip to content

Commit 79c9bfa

Browse files
limenetactions-user
authored andcommitted
Fix styling
1 parent f935d7d commit 79c9bfa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/IndexTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ public function settings()
3232

3333
$this->assertTrue($this->customerIndex->hasMapping());
3434
$this->assertArrayHasKey('mappings', $settings);
35-
$this->assertSame($settings['mappings'],$mappings);
35+
$this->assertSame($settings['mappings'], $mappings);
3636
}
3737
}

tests/ModelTest.php

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

55
use Elastica\Document;
66
use Limenet\LaravelElasticaBridge\Index\IndexInterface;
7-
use Limenet\LaravelElasticaBridge\Model\ElasticsearchableInterface;
87
use Limenet\LaravelElasticaBridge\Tests\App\Elasticsearch\CustomerIndex;
98
use Limenet\LaravelElasticaBridge\Tests\App\Models\Customer;
109

@@ -22,7 +21,7 @@ public function setUp():void
2221
public function convert_to_elastica_document()
2322
{
2423
Customer::all()
25-
->each(function(Customer $customer):void{
24+
->each(function (Customer $customer):void {
2625
$document = $customer->toElasticaDocument($this->customerIndex);
2726
$this->assertInstanceOf(Document::class, $document);
2827

0 commit comments

Comments
 (0)