Skip to content

Commit e409a8d

Browse files
Remove redundant space (#10652)
1 parent 4a9b178 commit e409a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eloquent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ $flight->delete();
10401040
<a name="deleting-an-existing-model-by-its-primary-key"></a>
10411041
#### Deleting an Existing Model by its Primary Key
10421042

1043-
In the example above, we are retrieving the model from the database before calling the `delete` method. However, if you know the primary key of the model, you may delete the model without explicitly retrieving it by calling the `destroy` method. In addition to accepting the single primary key, the `destroy` method will accept multiple primary keys, an array of primary keys, or a [collection](/docs/{{version}}/collections) of primary keys:
1043+
In the example above, we are retrieving the model from the database before calling the `delete` method. However, if you know the primary key of the model, you may delete the model without explicitly retrieving it by calling the `destroy` method. In addition to accepting the single primary key, the `destroy` method will accept multiple primary keys, an array of primary keys, or a [collection](/docs/{{version}}/collections) of primary keys:
10441044

10451045
```php
10461046
Flight::destroy(1);

0 commit comments

Comments
 (0)