Skip to content

Commit 97fadd9

Browse files
authored
Merge pull request #1643 from Rowayda-Khayri/fix-typos
Fix typos
2 parents bc78c75 + 5614b78 commit 97fadd9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ This service provider will slightly modify the internal DatabaseReminderReposito
298298

299299
### Queues
300300

301-
If you want to use MongoDB as your database backend, change the the driver in `config/queue.php`:
301+
If you want to use MongoDB as your database backend, change the driver in `config/queue.php`:
302302

303303
```php
304304
'connections' => [
@@ -689,7 +689,7 @@ For more information about model manipulation, check http://laravel.com/docs/elo
689689

690690
### Dates
691691

692-
Eloquent allows you to work with Carbon/DateTime objects instead of MongoDate objects. Internally, these dates will be converted to MongoDate objects when saved to the database. If you wish to use this functionality on non-default date fields you will need to manually specify them as described here: http://laravel.com/docs/eloquent#date-mutators
692+
Eloquent allows you to work with Carbon/DateTime objects instead of MongoDate objects. Internally, these dates will be converted to MongoDate objects when saved to the database. If you wish to use this functionality on non-default date fields, you will need to manually specify them as described here: http://laravel.com/docs/eloquent#date-mutators
693693

694694
Example:
695695

@@ -787,7 +787,7 @@ class User extends Eloquent {
787787
}
788788
```
789789

790-
You access the embedded models through the dynamic property:
790+
You can access the embedded models through the dynamic property:
791791

792792
```php
793793
$books = User::first()->books;
@@ -849,7 +849,7 @@ Embedded relations will return a Collection of embedded items instead of a query
849849

850850
### EmbedsOne Relations
851851

852-
The embedsOne relation is similar to the EmbedsMany relation, but only embeds a single model.
852+
The embedsOne relation is similar to the embedsMany relation, but only embeds a single model.
853853

854854
```php
855855
use Jenssegers\Mongodb\Eloquent\Model as Eloquent;
@@ -864,7 +864,7 @@ class Book extends Eloquent {
864864
}
865865
```
866866

867-
You access the embedded models through the dynamic property:
867+
You can access the embedded models through the dynamic property:
868868

869869
```php
870870
$author = Book::first()->author;
@@ -1014,7 +1014,7 @@ DB::collection('items')->paginate($limit, $projections);
10141014

10151015
**Push**
10161016

1017-
Add an items to an array.
1017+
Add items to an array.
10181018

10191019
```php
10201020
DB::collection('users')->where('name', 'John')->push('items', 'boots');

0 commit comments

Comments
 (0)