Skip to content

Commit e4bff61

Browse files
committed
docs:Grammar fix
1 parent c3a8e27 commit e4bff61

File tree

1 file changed

+6
-6
lines changed
  • user_guide_src/source/libraries/sessions

1 file changed

+6
-6
lines changed

user_guide_src/source/libraries/sessions/045.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
session()->setFlashdata('alerts', 'Operation success!');
3+
session()->setFlashdata('alerts', 'Operation successful!');
44

5-
/**
6-
* Get flash value 'Operation success!' in another controller.
5+
/*
6+
* Get flash value 'Operation successful!' in another controller.
77
*
88
* echo session()->getFlashdata('alerts');
99
*/
@@ -12,10 +12,10 @@
1212
session()->markAsTempdata('alerts');
1313

1414
// Or simply rewrite it directly
15-
session()->setTempdata('alerts', 'Operation success!');
15+
session()->setTempdata('alerts', 'Operation successful!');
1616

17-
/**
18-
* Get temp value 'Operation success!' in another controller.
17+
/*
18+
* Get temp value 'Operation successful!' in another controller.
1919
*
2020
* echo session()->getTempdata('alerts');
2121
*

0 commit comments

Comments
 (0)