Skip to content

Commit 37e484f

Browse files
committed
Add comment about array access retrocompatibility
1 parent 0f36dbe commit 37e484f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Contracts/TaskTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function testCreate(): void
5959
'link' => 'https://docs.meilisearch.com/errors#index_not_found',
6060
], $task->getError());
6161

62+
// Ensure the class supports array access retrocompatibility
6263
self::assertSame(1, $task['taskUid']);
6364
self::assertSame('documents', $task['indexUid']);
6465
self::assertSame('failed', $task['status']);

0 commit comments

Comments
 (0)