Skip to content

Commit 2b7c01e

Browse files
authored
fix undefined $data
1 parent 299a9db commit 2b7c01e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Commands/ListIndicesCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ public function handle()
8181
function getIndicesFromArrayResponse($indices)
8282
{
8383

84+
$data = [];
85+
8486
foreach ($indices as $row) {
8587

8688
if (in_array($row['index'], array_keys(config("es.indices")))) {

0 commit comments

Comments
 (0)