Add PHPDoc to delete method in Eloquent.
This commit is contained in:
parent
43f196878c
commit
8c0dfffa34
|
@ -339,6 +339,9 @@ public function save()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Delete a model from the database.
|
* Delete a model from the database.
|
||||||
|
*
|
||||||
|
* @param int $id
|
||||||
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function delete($id = null)
|
public function delete($id = null)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue