N°7068 - Update PHPDoc

This commit is contained in:
Molkobain
2024-02-13 21:20:22 +01:00
parent 78133418d7
commit 9fe45e9472

View File

@@ -99,10 +99,13 @@ function apc_delete($key)
/** /**
* Checks if APCu emulation key exists * Checks if APCu emulation key exists
*
* @param string|string[] $keys A string, or an array of strings, that contain keys. * @param string|string[] $keys A string, or an array of strings, that contain keys.
*
* @return bool|string[] Returns TRUE if the key exists, otherwise FALSE * @return bool|string[] Returns TRUE if the key exists, otherwise FALSE
* Or if an array was passed to keys, then an array is returned that * Or if an array was passed to keys, then an array is returned that
* contains all existing keys, or an empty array if none exist. * contains all existing keys, or an empty array if none exist.
* @since 3.2.0 N°7068
*/ */
function apc_exists($keys) function apc_exists($keys)
{ {
@@ -209,6 +212,7 @@ class apcFile
* Check if cache key exists * Check if cache key exists
* @param $sKey * @param $sKey
* @return bool * @return bool
* @since 3.2.0 N°7068
*/ */
static public function ExistsOneFile($sKey) { static public function ExistsOneFile($sKey) {
return is_file(self::GetCacheFileName('-' . $sKey)) || is_file(self::GetCacheFileName($sKey)); return is_file(self::GetCacheFileName('-' . $sKey)) || is_file(self::GetCacheFileName($sKey));