Skip to content
This repository was archived by the owner on Jul 31, 2018. It is now read-only.

Commit 7b7f760

Browse files
authored
Fix code mistake in README.md
Code can now be copied without a syntax error.
1 parent fa37f58 commit 7b7f760

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ public function getAlgoliaRecord()
341341
$extra_data = [];
342342
$extra_data['categories'] = array_map(function ($data) {
343343
return $data['name'];
344-
}, $this->categories->toArray();
344+
}, $this->categories->toArray());
345345

346346
return array_merge($this->toArray(), $extra_data);
347347
}

0 commit comments

Comments
 (0)