From 928f5865996448eb699f94b39fb4a048867e8937 Mon Sep 17 00:00:00 2001 From: bancer Date: Mon, 29 Apr 2019 10:40:10 +0200 Subject: [PATCH] Improved doc block --- lib/Cake/Controller/Component/SessionComponent.php | 2 +- lib/Cake/Model/Datasource/CakeSession.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Controller/Component/SessionComponent.php b/lib/Cake/Controller/Component/SessionComponent.php index d480fe659..f09550957 100644 --- a/lib/Cake/Controller/Component/SessionComponent.php +++ b/lib/Cake/Controller/Component/SessionComponent.php @@ -47,7 +47,7 @@ class SessionComponent extends Component { * * @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 - * @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 * @link https://book.cakephp.org/2.0/en/core-libraries/components/sessions.html#SessionComponent::write */ diff --git a/lib/Cake/Model/Datasource/CakeSession.php b/lib/Cake/Model/Datasource/CakeSession.php index c8f1db437..9eb36c152 100644 --- a/lib/Cake/Model/Datasource/CakeSession.php +++ b/lib/Cake/Model/Datasource/CakeSession.php @@ -432,7 +432,7 @@ class CakeSession { * Writes value to given session variable name. * * @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 */ public static function write($name, $value = null) {