@@ -342,6 +342,9 @@ discard block |
||
342 | 342 | return null; |
343 | 343 | } |
344 | 344 | |
345 | + /** |
|
346 | + * @param integer $len |
|
347 | + */ |
|
345 | 348 | function skip($len) { |
346 | 349 | $this->_pos += $len; |
347 | 350 | } |
@@ -369,6 +372,9 @@ discard block |
||
369 | 372 | return $this->readValue($reader); |
370 | 373 | } |
371 | 374 | |
375 | + /** |
|
376 | + * @param Moxiecode_JSONReader $reader |
|
377 | + */ |
|
372 | 378 | function readValue(&$reader) { |
373 | 379 | $this->data = array(); |
374 | 380 | $this->parents = array(); |
@@ -554,6 +560,11 @@ discard block |
||
554 | 560 | return '"' . $input . '"'; |
555 | 561 | } |
556 | 562 | |
563 | + /** |
|
564 | + * @param string $utf8 |
|
565 | + * |
|
566 | + * @return string |
|
567 | + */ |
|
557 | 568 | function _utf82utf16($utf8) { |
558 | 569 | if (function_exists('mb_convert_encoding')) |
559 | 570 | return mb_convert_encoding($utf8, 'UTF-16', 'UTF-8'); |
@@ -86,6 +86,9 @@ discard block |
||
86 | 86 | return $this->_level; |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param string $path |
|
91 | + */ |
|
89 | 92 | function setPath($path) { |
90 | 93 | $this->_path = $path; |
91 | 94 | } |
@@ -102,6 +105,9 @@ discard block |
||
102 | 105 | return $this->_filename; |
103 | 106 | } |
104 | 107 | |
108 | + /** |
|
109 | + * @param string $format |
|
110 | + */ |
|
105 | 111 | function setFormat($format) { |
106 | 112 | $this->_format = $format; |
107 | 113 | } |
@@ -110,6 +116,9 @@ discard block |
||
110 | 116 | return $this->_format; |
111 | 117 | } |
112 | 118 | |
119 | + /** |
|
120 | + * @param string $size |
|
121 | + */ |
|
113 | 122 | function setMaxSize($size) { |
114 | 123 | // Fix log max size |
115 | 124 | $logMaxSizeBytes = intval(preg_replace("/[^0-9]/", "", $size)); |
@@ -130,6 +139,9 @@ discard block |
||
130 | 139 | return $this->_maxSize; |
131 | 140 | } |
132 | 141 | |
142 | + /** |
|
143 | + * @param string $max_files |
|
144 | + */ |
|
133 | 145 | function setMaxFiles($max_files) { |
134 | 146 | $this->_maxFiles = $max_files; |
135 | 147 | } |
@@ -183,6 +195,10 @@ discard block |
||
183 | 195 | return $this->_level >= MC_LOGGER_FATAL; |
184 | 196 | } |
185 | 197 | |
198 | + /** |
|
199 | + * @param integer $level |
|
200 | + * @param string $message |
|
201 | + */ |
|
186 | 202 | function _logMsg($level, $message) { |
187 | 203 | $roll = false; |
188 | 204 |
@@ -83,7 +83,6 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * Adds a file to the concatenation/compression process. |
85 | 85 | * |
86 | - * @param String $path Path to the file to include in the compressed package/output. |
|
87 | 86 | */ |
88 | 87 | public function &addFile($file) { |
89 | 88 | $this->files .= ($this->files ? "," : "") . $file; |
@@ -256,7 +255,7 @@ discard block |
||
256 | 255 | /** |
257 | 256 | * Renders a script tag that loads the TinyMCE script. |
258 | 257 | * |
259 | - * @param Array $settings Name/value array with settings for the script tag. |
|
258 | + * @param Array $tagSettings Name/value array with settings for the script tag. |
|
260 | 259 | * @param Bool $return The script tag is return instead of being output if true |
261 | 260 | * @return String the tag is returned if $return is true |
262 | 261 | */ |
@@ -321,6 +321,7 @@ |
||
321 | 321 | * Forces the JavaScript requirements to the end of the body, right before the closing tag |
322 | 322 | * |
323 | 323 | * @param bool |
324 | + * @param boolean $var |
|
324 | 325 | * @return $this |
325 | 326 | */ |
326 | 327 | public function setForceJSToBottom($var) |
@@ -11,9 +11,9 @@ |
||
11 | 11 | /** |
12 | 12 | * Call a protected method on an object via reflection |
13 | 13 | * |
14 | - * @param object $object The object to call the method on |
|
14 | + * @param CampaignAdmin $object The object to call the method on |
|
15 | 15 | * @param string $method The name of the method |
16 | - * @param array $args The arguments to pass to the method |
|
16 | + * @param CampaignAdminTest_InvalidChangeSet[] $args The arguments to pass to the method |
|
17 | 17 | */ |
18 | 18 | function callProtectedMethod($object, $method, $args = []) { |
19 | 19 | $class = new ReflectionClass(get_class($object)); |
@@ -129,7 +129,7 @@ |
||
129 | 129 | /** |
130 | 130 | * |
131 | 131 | * @param GridField $gridField |
132 | - * @return array |
|
132 | + * @return string[] |
|
133 | 133 | */ |
134 | 134 | public function getActions($gridField) { |
135 | 135 | return array('addto'); |
@@ -124,7 +124,7 @@ |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | - * @param mixed $item |
|
127 | + * @param \ManyManyThroughListTest_Item $item |
|
128 | 128 | * @param array $extraFields |
129 | 129 | */ |
130 | 130 | public function add($item, $extraFields = []) { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @param mixed $joinClass |
|
68 | + * @param string $joinClass |
|
69 | 69 | * @return $this |
70 | 70 | */ |
71 | 71 | public function setJoinClass($joinClass) |
@@ -14,7 +14,7 @@ |
||
14 | 14 | /** |
15 | 15 | * Any number of foreign keys to apply to this list |
16 | 16 | * |
17 | - * @return string|array|null |
|
17 | + * @return string|null |
|
18 | 18 | */ |
19 | 19 | public function getForeignID() { |
20 | 20 | return $this->dataQuery->getQueryParam('Foreign.ID'); |