Skip to content

Commit f0c1779

Browse files
authored
fix typo of 'mapping()'
1 parent b2a785d commit f0c1779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ ES::index("my_index")->create();
341341
```php
342342
ES::index("my_index")->create(function($index){
343343

344-
$index->shards(5)->replicas(1)->mappping([
344+
$index->shards(5)->replicas(1)->mapping([
345345
'my_type' => [
346346
'properties' => [
347347
'first_name' => [
@@ -360,7 +360,7 @@ ES::index("my_index")->create(function($index){
360360

361361
ES::create("my_index", function($index){
362362

363-
$index->shards(5)->replicas(1)->mappping([
363+
$index->shards(5)->replicas(1)->mapping([
364364
'my_type' => [
365365
'properties' => [
366366
'first_name' => [

0 commit comments

Comments
 (0)