Skip to content

Commit b1542c6

Browse files
author
ethan
committed
findOneOrFail
1 parent 3410704 commit b1542c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ public function findOneOrFail($condition = '', $params = array())
375375
{
376376
$data = static::findOne($condition, $params);
377377
if ($data == null) {
378-
throw new NotFoundException('Data not found');
378+
throw new NotFoundException('Data not found.');
379379
}
380380
return $data;
381381
}

0 commit comments

Comments
 (0)