Skip to content

Commit cec7d03

Browse files
authored
Merge pull request #630 from pborreli/typos
Fixed typos
2 parents 48861aa + 4f1ef55 commit cec7d03

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

core/angularjs-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,4 @@ admin.addEntity(article);
9797
nga.configure(admin);
9898
```
9999

100-
You can look at what we have done as another exemple [api-platform/admin](https://github.com/api-platform/admin).
100+
You can look at what we have done as another example [api-platform/admin](https://github.com/api-platform/admin).

core/filters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ final class UserFilter extends SQLFilter
896896
public function addFilterConstraint(ClassMetadata $targetEntity, string $targetTableAlias): string
897897
{
898898
if (null === $this->reader) {
899-
return throw new \RuntimeException(sprintf('An annotation reader must be provided. Be sure to call "%s::setAnnotationReader()".', __CLASS__));
899+
throw new \RuntimeException(sprintf('An annotation reader must be provided. Be sure to call "%s::setAnnotationReader()".', __CLASS__));
900900
}
901901
902902
// The Doctrine filter is called for any query on any entity

core/serialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ In the following JSON document, the relation from a book to an author is represe
210210
```
211211

212212
However, for performance reasons, it is sometimes preferable to avoid forcing the client to issue extra HTTP requests.
213-
It is possible to embed related objects (in their entirity, or only some of their properties) directly in the parent
213+
It is possible to embed related objects (in their entirety, or only some of their properties) directly in the parent
214214
response through the use of serialization groups. By using the following serialization groups annotations (`@Groups`),
215215
a JSON representation of the author is embedded in the book response:
216216

schema-generator/configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Example:
4141
types:
4242
Brand:
4343
properties:
44-
logo: { range: "ImageObject" } # Force the range of the logo propery to ImageObject (can also be URL according to Schema.org)
44+
logo: { range: "ImageObject" } # Force the range of the logo property to ImageObject (can also be URL according to Schema.org)
4545
4646
PostalAddress:
4747
properties:
@@ -372,7 +372,7 @@ doctrine:
372372
## Changing the Field Visibility
373373

374374
Generated fields have a `private` visibility and are exposed through getters and setters.
375-
The default visibility can be changed with the `fieldVisibility` otion.
375+
The default visibility can be changed with the `fieldVisibility` option.
376376

377377
Example:
378378

0 commit comments

Comments
 (0)