Author: fabien
Date: 2010-03-29 10:18:46 +0200 (Mon, 29 Mar 2010)
New Revision: 28842

Modified:
   branches/1.3/lib/cache/sfCache.class.php
   branches/1.4/lib/cache/sfCache.class.php
Log:
[1.3, 1.4] fixed sfCache phpdoc (closes #8203)

Modified: branches/1.3/lib/cache/sfCache.class.php
===================================================================
--- branches/1.3/lib/cache/sfCache.class.php    2010-03-29 08:13:57 UTC (rev 
28841)
+++ branches/1.3/lib/cache/sfCache.class.php    2010-03-29 08:18:46 UTC (rev 
28842)
@@ -69,7 +69,7 @@
    * @param string $key     The cache key
    * @param mixed  $default The default value is the key does not exist or not 
valid anymore
    *
-   * @return mixed The data of the cache
+   * @return string The data of the cache
    */
   abstract public function get($key, $default = null);
 
@@ -86,7 +86,7 @@
    * Saves some data in the cache.
    *
    * @param string $key      The cache key
-   * @param mixed  $data     The data to put in cache
+   * @param string $data     The data to put in cache
    * @param int    $lifetime The lifetime
    *
    * @return Boolean true if no problem

Modified: branches/1.4/lib/cache/sfCache.class.php
===================================================================
--- branches/1.4/lib/cache/sfCache.class.php    2010-03-29 08:13:57 UTC (rev 
28841)
+++ branches/1.4/lib/cache/sfCache.class.php    2010-03-29 08:18:46 UTC (rev 
28842)
@@ -69,7 +69,7 @@
    * @param string $key     The cache key
    * @param mixed  $default The default value is the key does not exist or not 
valid anymore
    *
-   * @return mixed The data of the cache
+   * @return string The data of the cache
    */
   abstract public function get($key, $default = null);
 
@@ -86,7 +86,7 @@
    * Saves some data in the cache.
    *
    * @param string $key      The cache key
-   * @param mixed  $data     The data to put in cache
+   * @param string $data     The data to put in cache
    * @param int    $lifetime The lifetime
    *
    * @return Boolean true if no problem

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to