Skip to content

Commit 427ba14

Browse files
committed
docs: replace echo with return
1 parent 39b47b4 commit 427ba14

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • user_guide_src/source/installation/upgrade_validations

user_guide_src/source/installation/upgrade_validations/002.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ public function index()
1313
if (! $this->validate([
1414
// Validation rules
1515
])) {
16-
echo view('myform', [
16+
return view('myform', [
1717
'validation' => $this->validator,
1818
]);
19-
} else {
20-
echo view('formsuccess');
2119
}
20+
21+
return view('formsuccess');
2222
}
2323
}

0 commit comments

Comments
 (0)