Improved doc block

This commit is contained in:
bancer 2019-04-29 10:40:10 +02:00
parent 63bbd4cd7b
commit 928f586599
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ class SessionComponent extends Component {
* *
* @param string|array $name The name of the key your are setting in the session. * @param string|array $name The name of the key your are setting in the session.
* This should be in a Controller.key format for better organizing * This should be in a Controller.key format for better organizing
* @param string|array $value The value you want to store in a session. * @param mixed $value The value you want to store in a session.
* @return bool Success * @return bool Success
* @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write
*/ */

View file

@ -432,7 +432,7 @@ class CakeSession {
* Writes value to given session variable name. * Writes value to given session variable name.
* *
* @param string|array $name Name of variable * @param string|array $name Name of variable
* @param string|array $value Value to write * @param mixed $value Value to write
* @return bool True if the write was successful, false if the write failed * @return bool True if the write was successful, false if the write failed
*/ */
public static function write($name, $value = null) { public static function write($name, $value = null) {