mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-02 11:48:08 +08:00
Optimized comment of ModelBuilder::find
.
This commit is contained in:
parent
9445f3e14c
commit
9bfbeef928
@ -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 = ['*'])
|
||||
|
Loading…
Reference in New Issue
Block a user