Completed
Pull Request — master (#6114)
by Damian
10:40
created
ORM/ManyManyThroughList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
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 = []) {
Please login to merge, or discard this patch.
ORM/ManyManyThroughQueryManipulator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
ORM/RelationList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
Core/ClassInfo.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -276,6 +276,9 @@
 block discarded – undo
276 276
 
277 277
 	private static $method_from_cache = array();
278 278
 
279
+	/**
280
+	 * @param string $method
281
+	 */
279 282
 	public static function has_method_from($class, $method, $compclass) {
280 283
 		$lClass = strtolower($class);
281 284
 		$lMethod = strtolower($method);
Please login to merge, or discard this patch.
ORM/DataObjectSchema.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 	 *
182 182
 	 * @param string|DataObject $classOrInstance Name or instance of class
183 183
 	 * @param string $fieldName
184
-	 * @param array $options Array of options. Specify any number of the below:
184
+	 * @param string[] $options Array of options. Specify any number of the below:
185 185
 	 *  - `uninherited`: Set to true to limit to only this table
186 186
 	 *  - `dbOnly`: Exclude virtual fields (such as composite fields), and only include fields with a db column.
187 187
 	 *  - `includeClass`: If true prefix the field specification with the class name in RecordClass.Column(spec) format.
@@ -647,7 +647,7 @@  discard block
 block discarded – undo
647 647
 	 * @param string $parentClass Parent class name
648 648
 	 * @param string $component ManyMany name
649 649
 	 * @param string|array $specification Declaration of many_many relation type
650
-	 * @return array
650
+	 * @return string[]
651 651
 	 */
652 652
 	protected function parseManyManyComponent($parentClass, $component, $specification)
653 653
 	{
Please login to merge, or discard this patch.