@@ -162,7 +162,7 @@ |
||
162 | 162 | * @param string $mode clean mode |
163 | 163 | * @param array $tags array of tags |
164 | 164 | * @throws Zend_Cache_Exception |
165 | - * @return boolean true if no problem |
|
165 | + * @return boolean|null true if no problem |
|
166 | 166 | */ |
167 | 167 | public function clean($mode = Zend_Cache::CLEANING_MODE_ALL, $tags = array()) |
168 | 168 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param string $locale Locale/Language to add data for, identical with locale identifier, |
49 | 49 | * see Zend_Locale for more information |
50 | 50 | * @param string $filename XMLTM file to add, full path must be given for access |
51 | - * @param array $option OPTIONAL Options to use |
|
51 | + * @param array $options OPTIONAL Options to use |
|
52 | 52 | * @throws Zend_Translation_Exception |
53 | 53 | * @return array |
54 | 54 | */ |
@@ -116,6 +116,9 @@ discard block |
||
116 | 116 | } |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $filename |
|
121 | + */ |
|
119 | 122 | private function _findEncoding($filename) |
120 | 123 | { |
121 | 124 | $file = file_get_contents($filename, null, null, 0, 100); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param string $locale Locale/Language to add data for, identical with locale identifier, |
49 | 49 | * see Zend_Locale for more information |
50 | 50 | * @param string $filename XMLTM file to add, full path must be given for access |
51 | - * @param array $option OPTIONAL Options to use |
|
51 | + * @param array $options OPTIONAL Options to use |
|
52 | 52 | * @throws Zend_Translation_Exception |
53 | 53 | * @return array |
54 | 54 | */ |
@@ -116,6 +116,9 @@ discard block |
||
116 | 116 | } |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $filename |
|
121 | + */ |
|
119 | 122 | private function _findEncoding($filename) |
120 | 123 | { |
121 | 124 | $file = file_get_contents($filename, null, null, 0, 100); |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * @param string $locale Locale/Language to add data for, identical with locale identifier, |
49 | 49 | * see Zend_Locale for more information |
50 | 50 | * @param string $filename XMLTM file to add, full path must be given for access |
51 | - * @param array $option OPTIONAL Options to use |
|
51 | + * @param array $options OPTIONAL Options to use |
|
52 | 52 | * @throws Zend_Translation_Exception |
53 | 53 | * @return array |
54 | 54 | */ |
@@ -116,6 +116,9 @@ discard block |
||
116 | 116 | } |
117 | 117 | } |
118 | 118 | |
119 | + /** |
|
120 | + * @param string $filename |
|
121 | + */ |
|
119 | 122 | private function _findEncoding($filename) |
120 | 123 | { |
121 | 124 | $file = file_get_contents($filename, null, null, 0, 100); |
@@ -51,6 +51,7 @@ discard block |
||
51 | 51 | * while automatically busting this cache every time the file is changed. |
52 | 52 | * |
53 | 53 | * @param bool |
54 | + * @param boolean $var |
|
54 | 55 | */ |
55 | 56 | public static function set_suffix_requirements($var) { |
56 | 57 | self::backend()->setSuffixRequirements($var); |
@@ -651,6 +652,7 @@ discard block |
||
651 | 652 | * while automatically busting this cache every time the file is changed. |
652 | 653 | * |
653 | 654 | * @param bool |
655 | + * @param boolean $var |
|
654 | 656 | */ |
655 | 657 | public function setSuffixRequirements($var) { |
656 | 658 | $this->suffixRequirements = $var; |
@@ -670,6 +672,7 @@ discard block |
||
670 | 672 | * head tag. |
671 | 673 | * |
672 | 674 | * @param bool |
675 | + * @param boolean $var |
|
673 | 676 | * @return $this |
674 | 677 | */ |
675 | 678 | public function setWriteJavascriptToBody($var) { |
@@ -691,6 +694,7 @@ discard block |
||
691 | 694 | * Forces the JavaScript requirements to the end of the body, right before the closing tag |
692 | 695 | * |
693 | 696 | * @param bool |
697 | + * @param boolean $var |
|
694 | 698 | * @return $this |
695 | 699 | */ |
696 | 700 | public function setForceJSToBottom($var) { |
@@ -958,7 +962,7 @@ discard block |
||
958 | 962 | * Note that blocking should be used sparingly because it's hard to trace where an file is |
959 | 963 | * being blocked from. |
960 | 964 | * |
961 | - * @param string|int $fileOrID |
|
965 | + * @param string $fileOrID |
|
962 | 966 | */ |
963 | 967 | public function block($fileOrID) { |
964 | 968 | $this->blocked[$fileOrID] = $fileOrID; |
@@ -967,7 +971,7 @@ discard block |
||
967 | 971 | /** |
968 | 972 | * Remove an item from the block list |
969 | 973 | * |
970 | - * @param string|int $fileOrID |
|
974 | + * @param string $fileOrID |
|
971 | 975 | */ |
972 | 976 | public function unblock($fileOrID) { |
973 | 977 | unset($this->blocked[$fileOrID]); |
@@ -1236,7 +1240,7 @@ discard block |
||
1236 | 1240 | * </code> |
1237 | 1241 | * |
1238 | 1242 | * @param string $combinedFileName Filename of the combined file relative to docroot |
1239 | - * @param array $files Array of filenames relative to docroot |
|
1243 | + * @param string[] $files Array of filenames relative to docroot |
|
1240 | 1244 | * @param string $media If including CSS Files, you can specify a media type |
1241 | 1245 | */ |
1242 | 1246 | public function combineFiles($combinedFileName, $files, $media = null) { |
@@ -1470,8 +1474,8 @@ discard block |
||
1470 | 1474 | /** |
1471 | 1475 | * Given a filename and list of files, generate a new filename unique to these files |
1472 | 1476 | * |
1473 | - * @param string $name |
|
1474 | - * @param array $files |
|
1477 | + * @param array $fileList |
|
1478 | + * @param string $combinedFile |
|
1475 | 1479 | * @return string |
1476 | 1480 | */ |
1477 | 1481 | protected function hashedCombinedFilename($combinedFile, $fileList) { |