Browse Source

API Documentation improvement.
Solves [ZF-4577] Zend_Cache_Core::test() may return integer when using File backend.


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19780 44c647ce-9c0f-0410-b52a-842ac1e357ba

mluiten 16 years ago
parent
commit
6d9affb18b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      library/Zend/Cache/Core.php
  2. 1 1
      library/Zend/Cache/Frontend/File.php

+ 1 - 1
library/Zend/Cache/Core.php

@@ -307,7 +307,7 @@ class Zend_Cache_Core
      * Test if a cache is available for the given id
      *
      * @param  string $id Cache id
-     * @return boolean True is a cache is available, false else
+     * @return int|false Last modified time of cache entry if it is available, false otherwise
      */
     public function test($id)
     {

+ 1 - 1
library/Zend/Cache/Frontend/File.php

@@ -174,7 +174,7 @@ class Zend_Cache_Frontend_File extends Zend_Cache_Core
      * Test if a cache is available for the given id
      *
      * @param  string $id Cache id
-     * @return boolean True is a cache is available, false else
+     * @return int|false Last modified time of cache entry if it is available, false otherwise
      */
     public function test($id)
     {