Commit: b0efcb6302ad107c76c1dc0ad2469350e5191933
Author: Denis de Bernardy | Date: 2010-09-04 14:55:42 +0200
diff --git a/libraries/lithium/storage/session/adapter/Php.php b/libraries/lithium/storage/session/adapter/Php.php
index 9cd911a..b4521e8 100644
--- a/libraries/lithium/storage/session/adapter/Php.php
+++ b/libraries/lithium/storage/session/adapter/Php.php
@@ -220,7 +220,7 @@ class Php extends \lithium\core\Object {
* @param array $old Reference to the array that needs to be overwritten. Will usually
* be `$_SESSION`.
* @param array $new The data that should overwrite the keys/values in `$old`.
- * @return void
+ * @return true Success
*/
public static function overwrite(&$old, $new) {
if (!empty($old)) {
@@ -233,6 +233,7 @@ class Php extends \lithium\core\Object {
foreach ($new as $key => $value) {
$old[$key] = $value;
}
+ return true;
}
}