Skip to content

Commit

Permalink
注释调整
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Jul 19, 2021
1 parent 7a6ece3 commit 008b991
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/db/concern/ResultOperation.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ protected function throwNotFound(): void
* @access public
* @param array|string|Query|Closure $data 数据
* @return array|Collection|static[]
* @throws ModelNotFoundException
* @throws DataNotFoundException
*/
public function selectOrFail($data = null)
{
Expand All @@ -238,6 +240,8 @@ public function selectOrFail($data = null)
* @access public
* @param array|string|Query|Closure $data 数据
* @return array|Model|static
* @throws ModelNotFoundException
* @throws DataNotFoundException
*/
public function findOrFail($data = null)
{
Expand Down

0 comments on commit 008b991

Please sign in to comment.