Optimized comment of ModelBuilder::find.

This commit is contained in:
李铭昕 2019-06-17 16:51:58 +08:00
parent 9445f3e14c
commit 9bfbeef928

View File

@ -399,7 +399,7 @@ class Builder
* Find a model by its primary key.
*
* @param array $columns
* @param mixed $id
* @param array|int|string $id
* @return null|\Hyperf\Database\Model\Collection|\Hyperf\Database\Model\Model|static|static[]
*/
public function find($id, $columns = ['*'])