Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 26f35f5

Browse files
committed
Fixes DocBlocks in Zend_Locale_Data
1 parent 195cbbc commit 26f35f5

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

library/Zend/Locale/Data.php

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -42,24 +42,21 @@ class Zend_Locale_Data
4242
/**
4343
* Locale files
4444
*
45-
* @var ressource
46-
* @access private
45+
* @var array
4746
*/
4847
private static $_ldml = array();
4948

5049
/**
5150
* List of values which are collected
5251
*
5352
* @var array
54-
* @access private
5553
*/
5654
private static $_list = array();
5755

5856
/**
5957
* Internal cache for ldml values
6058
*
6159
* @var Zend_Cache_Core
62-
* @access private
6360
*/
6461
private static $_cache = null;
6562

@@ -73,8 +70,7 @@ class Zend_Locale_Data
7370
/**
7471
* Internal option, cache disabled
7572
*
76-
* @var boolean
77-
* @access private
73+
* @var boolean
7874
*/
7975
private static $_cacheDisabled = false;
8076

@@ -147,8 +143,8 @@ private static function _readFile($locale, $path, $attribute, $value, $temp)
147143
* @param string $attribute
148144
* @param string $value
149145
* @param array $temp
146+
* @return bool
150147
* @throws Zend_Locale_Exception
151-
* @access private
152148
*/
153149
private static function _findRoute($locale, $path, $attribute, $value, &$temp)
154150
{
@@ -223,11 +219,13 @@ private static function _findRoute($locale, $path, $attribute, $value, &$temp)
223219
/**
224220
* Read the right LDML file
225221
*
226-
* @param string $locale
227-
* @param string $path
228-
* @param string $attribute
229-
* @param string $value
230-
* @access private
222+
* @param string $locale
223+
* @param string $path
224+
* @param string|bool $attribute
225+
* @param string|bool $value
226+
* @param array $temp
227+
* @return array
228+
* @throws Zend_Locale_Exception
231229
*/
232230
private static function _getFile($locale, $path, $attribute = false, $value = false, $temp = array())
233231
{
@@ -278,8 +276,9 @@ private static function _calendarDetail($locale, $list)
278276
/**
279277
* Internal function for checking the locale
280278
*
281-
* @param string|Zend_Locale $locale Locale to check
279+
* @param string|Zend_Locale $locale Locale to check
282280
* @return string
281+
* @throws Zend_Locale_Exception
283282
*/
284283
private static function _checkLocale($locale)
285284
{
@@ -302,11 +301,11 @@ private static function _checkLocale($locale)
302301
/**
303302
* Read the LDML file, get a array of multipath defined value
304303
*
305-
* @param string $locale
306-
* @param string $path
307-
* @param string $value
304+
* @param string $locale
305+
* @param string $path
306+
* @param bool|string $value
308307
* @return array
309-
* @access public
308+
* @throws Zend_Locale_Exception
310309
*/
311310
public static function getList($locale, $path, $value = false)
312311
{
@@ -952,11 +951,11 @@ public static function getList($locale, $path, $value = false)
952951
/**
953952
* Read the LDML file, get a single path defined value
954953
*
955-
* @param string $locale
956-
* @param string $path
957-
* @param string $value
954+
* @param string $locale
955+
* @param string $path
956+
* @param bool|string $value
958957
* @return string
959-
* @access public
958+
* @throws Zend_Locale_Exception
960959
*/
961960
public static function getContent($locale, $path, $value = false)
962961
{
@@ -1557,7 +1556,7 @@ public static function clearCache()
15571556
/**
15581557
* Disables the cache
15591558
*
1560-
* @param unknown_type $flag
1559+
* @param bool $flag
15611560
*/
15621561
public static function disableCache($flag)
15631562
{
@@ -1567,7 +1566,7 @@ public static function disableCache($flag)
15671566
/**
15681567
* Internal method to check if the given cache supports tags
15691568
*
1570-
* @param Zend_Cache $cache
1569+
* @return bool
15711570
*/
15721571
private static function _getTagSupportForCache()
15731572
{

0 commit comments

Comments
 (0)