From 6c869818589f30851297468aaeb6f4b7cec2ae41 Mon Sep 17 00:00:00 2001 From: Wouter Date: Tue, 12 Jun 2018 10:24:24 +0200 Subject: [PATCH] Make docs compatible with CakeSession --- lib/Cake/Controller/Component/SessionComponent.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/Controller/Component/SessionComponent.php b/lib/Cake/Controller/Component/SessionComponent.php index b298e420d..d480fe659 100644 --- a/lib/Cake/Controller/Component/SessionComponent.php +++ b/lib/Cake/Controller/Component/SessionComponent.php @@ -45,9 +45,9 @@ class SessionComponent extends Component { * * In your controller: $this->Session->write('Controller.sessKey', 'session value'); * - * @param string $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 - * @param string $value The value you want to store in a session. + * @param string|array $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 */