Skip to content

Commit 9458a0c

Browse files
committed
Fix code after upgrade to meilisearch-php 0.24
1 parent 7aeaa8d commit 9458a0c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'import_constants' => false,
1818
],
1919
]
20-
)
20+
)
2121
->setRiskyAllowed(true)
2222
->setFinder($finder)
2323
;

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"ext-json": "*",
2323
"doctrine/doctrine-bundle": "^2.4",
2424
"illuminate/collections": "^8.47",
25-
"meilisearch/meilisearch-php": "^0.23.0",
25+
"meilisearch/meilisearch-php": "^0.24.0",
2626
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
2727
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
2828
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"

tests/Integration/CommandsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,6 @@ public function testCreateExecuteIndexCreation(): void
327327
$createCommandTester = new CommandTester($createCommand);
328328
$createCommandTester->execute([]);
329329

330-
$this->assertEquals($this->client->getTasks()['results'][0]['type'], 'indexCreation');
330+
$this->assertEquals($this->client->getTasks()->getResults()[0]['type'], 'indexCreation');
331331
}
332332
}

0 commit comments

Comments
 (0)