Completed
Pull Request — master (#5895)
by Ingo
17:10
created
parsers/URLSegmentFilter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -89,6 +89,7 @@
 block discarded – undo
89 89
 	 * Determines if the field should render open or closed by default.
90 90
 	 * 
91 91
 	 * @param boolean
92
+	 * @param boolean $bool
92 93
 	 */
93 94
 	public function startClosed($bool) {
94 95
 		($bool) ? $this->addExtraClass('startClosed') : $this->removeExtraClass('startClosed');
Please login to merge, or discard this patch.
thirdparty/Zend/Cache/Backend/BlackHole.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * Test if a cache is available or not (for the given id)
57 57
      *
58 58
      * @param  string $id cache id
59
-     * @return mixed false (a cache is not available) or "last modified" timestamp (int) of the available cache record
59
+     * @return boolean false (a cache is not available) or "last modified" timestamp (int) of the available cache record
60 60
      */
61 61
     public function test($id)
62 62
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
      * - mtime : timestamp of last modification time
193 193
      *
194 194
      * @param  string $id cache id
195
-     * @return array array of metadatas (false if the cache id is not found)
195
+     * @return boolean array of metadatas (false if the cache id is not found)
196 196
      */
197 197
     public function getMetadatas($id)
198 198
     {
Please login to merge, or discard this patch.
thirdparty/Zend/Loader/Autoloader/Resource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      * Helper method to calculate the correct class path
137 137
      *
138 138
      * @param string $class
139
-     * @return False if not matched other wise the correct path
139
+     * @return false|string if not matched other wise the correct path
140 140
      */
141 141
     public function getClassPath($class)
142 142
     {
Please login to merge, or discard this patch.
thirdparty/Zend/Loader/PluginLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -283,7 +283,7 @@
 block discarded – undo
283 283
      * Whether or not a Plugin by a specific name is loaded
284 284
      *
285 285
      * @param string $name
286
-     * @return Zend_Loader_PluginLoader
286
+     * @return boolean
287 287
      */
288 288
     public function isLoaded($name)
289 289
     {
Please login to merge, or discard this patch.
forms/CompositeField.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
 
215 215
 
216 216
 
217
+	/**
218
+	 * @param boolean $disabled
219
+	 */
217 220
 	public function setDisabled($disabled) {
218 221
 		parent::setDisabled($disabled);
219 222
 		foreach($this->getChildren() as $child) {
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
 		return $this;
223 226
 	}
224 227
 
228
+	/**
229
+	 * @param boolean $readonly
230
+	 */
225 231
 	public function setReadonly($readonly)
226 232
 	{
227 233
 		parent::setReadonly($readonly);
@@ -367,6 +373,9 @@  discard block
 block discarded – undo
367 373
 		return $clone;
368 374
 	}
369 375
 
376
+	/**
377
+	 * @return boolean
378
+	 */
370 379
 	public function IsReadonly() {
371 380
 		return $this->readonly;
372 381
 	}
@@ -376,6 +385,7 @@  discard block
 block discarded – undo
376 385
 	 * the children collection. Doesn't work recursively.
377 386
 	 *
378 387
 	 * @param string|FormField
388
+	 * @param string $field
379 389
 	 * @return int Position in children collection (first position starts with 0). Returns FALSE if the field can't
380 390
 	 *             be found.
381 391
 	 */
Please login to merge, or discard this patch.
forms/MoneyField.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,10 @@  discard block
 block discarded – undo
60 60
 		return $this->fieldAmount;
61 61
 	}
62 62
 
63
+	/**
64
+	 * @param string $name
65
+	 * @param string $title
66
+	 */
63 67
 	public function __construct($name, $title = null, $value = "") {
64 68
 		$this->setName($name);
65 69
 
@@ -132,7 +136,7 @@  discard block
 block discarded – undo
132 136
 	 *
133 137
 	 * (see @link MoneyFieldTest_CustomSetter_Object for more information)
134 138
 	 *
135
-	 * @param DataObjectInterface|Object $dataObject
139
+	 * @param DataObjectInterface $dataObject
136 140
 	 */
137 141
 	public function saveInto(DataObjectInterface $dataObject) {
138 142
 		$fieldName = $this->getName();
@@ -161,6 +165,9 @@  discard block
 block discarded – undo
161 165
 		return $clone;
162 166
 	}
163 167
 
168
+	/**
169
+	 * @param boolean $bool
170
+	 */
164 171
 	public function setReadonly($bool) {
165 172
 		parent::setReadonly($bool);
166 173
 
Please login to merge, or discard this patch.
core/Convert.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,9 +50,9 @@  discard block
 block discarded – undo
50 50
 	 *
51 51
 	 * @see http://www.w3.org/TR/REC-html40/types.html#type-cdata
52 52
 	 *
53
-	 * @param array|string $val String to escape, or array of strings
53
+	 * @param string $val String to escape, or array of strings
54 54
 	 *
55
-	 * @return array|string
55
+	 * @return string
56 56
 	 */
57 57
 	public static function raw2htmlname($val) {
58 58
 		if(is_array($val)) {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 	 * table, or column name. Supports encoding of multi identfiers separated by
179 179
 	 * a delimiter (e.g. ".")
180 180
 	 *
181
-	 * @param string|array $identifier The identifier to escape. E.g. 'SiteTree.Title' or list of identifiers
181
+	 * @param string $identifier The identifier to escape. E.g. 'SiteTree.Title' or list of identifiers
182 182
 	 * to be joined via the separator.
183 183
 	 * @param string $separator The string that delimits subsequent identifiers
184 184
 	 * @return string The escaped identifier. E.g. '"SiteTree"."Title"'
@@ -263,6 +263,7 @@  discard block
 block discarded – undo
263 263
 	 * call this function directly, Please use {@link Convert::xml2array()}
264 264
 	 *
265 265
 	 * @param SimpleXMLElement
266
+	 * @param SimpleXMLElement $xml
266 267
 	 *
267 268
 	 * @return mixed
268 269
 	 */
@@ -456,7 +457,7 @@  discard block
 block discarded – undo
456 457
 	 * - IDField => idField
457 458
 	 * - iDField => iDField
458 459
 	 *
459
-	 * @param $str
460
+	 * @param string $str
460 461
 	 * @return string
461 462
 	 */
462 463
 	public static function upperCamelToLowerCamel($str) {
Please login to merge, or discard this patch.
ORM/Connect/Database.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -718,7 +718,7 @@
 block discarded – undo
718 718
 	 * @param boolean $create Flag indicating whether the database should be created
719 719
 	 * if it doesn't exist. If $create is false and the database doesn't exist
720 720
 	 * then an error will be raised
721
-	 * @param int|boolean $errorLevel The level of error reporting to enable for the query, or false if no error
721
+	 * @param boolean $errorLevel The level of error reporting to enable for the query, or false if no error
722 722
 	 * should be raised
723 723
 	 * @return boolean Flag indicating success
724 724
 	 */
Please login to merge, or discard this patch.
ORM/DataQuery.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	/**
91 91
 	 * Remove a filter from the query
92 92
 	 *
93
-	 * @param string|array $fieldExpression The predicate of the condition to remove
93
+	 * @param string|null $fieldExpression The predicate of the condition to remove
94 94
 	 * (ignoring parameters). The expression will be considered a match if it's
95 95
 	 * contained within any other predicate.
96 96
 	 * @return DataQuery Self reference
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	/**
170 170
 	 * Ensure that the query is ready to execute.
171 171
 	 *
172
-	 * @param array|null $queriedColumns Any columns to filter the query by
172
+	 * @param string[] $queriedColumns Any columns to filter the query by
173 173
 	 * @return SQLSelect The finalised sql query
174 174
 	 */
175 175
 	public function getFinalisedQuery($queriedColumns = null) {
@@ -1033,6 +1033,9 @@  discard block
 block discarded – undo
1033 1033
 	 */
1034 1034
 	protected $whereQuery;
1035 1035
 
1036
+	/**
1037
+	 * @param string $connective
1038
+	 */
1036 1039
 	public function __construct(DataQuery $base, $connective) {
1037 1040
 		parent::__construct($base->dataClass);
1038 1041
 		$this->query = $base->query;
@@ -1042,6 +1045,9 @@  discard block
 block discarded – undo
1042 1045
 		$base->where($this);
1043 1046
 	}
1044 1047
 
1048
+	/**
1049
+	 * @param string $filter
1050
+	 */
1045 1051
 	public function where($filter) {
1046 1052
 		if($filter) {
1047 1053
 			$this->whereQuery->addWhere($filter);
Please login to merge, or discard this patch.