File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ abstract class BaseModel
198198 /**
199199 * Our validator instance.
200200 *
201- * @var Validation
201+ * @var ValidationInterface
202202 */
203203 protected $ validation ;
204204
Original file line number Diff line number Diff line change @@ -559,12 +559,14 @@ protected function loadRuleSets()
559559 * same format used with setRules(). Additionally, check
560560 * for {group}_errors for an array of custom error messages.
561561 *
562- * @return array|ValidationException|null
562+ * @throws ValidationException
563+ *
564+ * @return array
563565 */
564566 public function loadRuleGroup (?string $ group = null )
565567 {
566568 if (empty ($ group )) {
567- return null ;
569+ return [] ;
568570 }
569571
570572 if (! isset ($ this ->config ->{$ group })) {
You can’t perform that action at this time.
0 commit comments