Skip to content

Commit 5ca9d0e

Browse files
committed
fix formatting
1 parent 85042fb commit 5ca9d0e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

eloquent.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,9 @@ Of course, in addition to retrieving all of the records for a given table, you m
218218
// Retrieve the first model matching the query constraints...
219219
$flight = App\Flight::where('active', 1)->first();
220220

221-
You can also call the `find` method and pass in an array of primary keys. The return will be a collection containing all of the matching records for the supplied primary keys. For example:
221+
You may also call the `find` method with an array of primary keys, which will return a collection of the matching records:
222222

223-
// Find the flights with primary keys 1, 10 and 50...
224-
$flight = App\Flight::find([1, 10, 50]);
223+
$flights = App\Flight::find([1, 2, 3]);
225224

226225
#### Not Found Exceptions
227226

0 commit comments

Comments
 (0)