Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed a couple of copy-paste errors in the crud.md and mapping.md #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Resources/doc/crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
For all steps below we assume that there is an `AppBundle` with the `Content` document.

```php
// src/Document/Product.php
// src/Document/Content.php

namespace App\Document;

Expand Down
6 changes: 3 additions & 3 deletions Resources/doc/mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ You can find more information about analysis at [the elasticsearch docs](https:/
Lets start with a document class example.

```php
// src/Document/Content.php
// src/Document/MyIndex.php

namespace App\Document;

Expand Down Expand Up @@ -161,7 +161,7 @@ Here's the list of all available parameters:


```php
// src/Document/Product.php
// src/Document/MyIndex.php
namespace App\Document;

use ONGR\ElasticsearchBundle\Annotation as ES;
Expand Down Expand Up @@ -190,7 +190,7 @@ To define a nested or object type you have to use `@ES\Embedded` annotation and
class for this annotation. Here's an example, lets assume we have a `Product` type with `CategoryObject` as object field.

```php
// src/AppBundle/Document/Product.php
// src/Document/Product.php

namespace App\Document;

Expand Down