Completed
Pull Request — master (#51)
by Karsten
04:45
created
src/CompoundQueryProcessor.php 2 patches
Braces   +2 added lines, -5 removed lines patch added patch discarded remove patch
@@ -144,9 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
 				if ( $c == '[' ) {
146 146
 					$uncompleted_square_brackets++;
147
-				}
148
-
149
-				elseif ( $c == ']' ) {
147
+				} elseif ( $c == ']' ) {
150 148
 					$uncompleted_square_brackets--;
151 149
 				}
152 150
 			}
@@ -240,8 +238,7 @@  discard block
 block discarded – undo
240 238
 			foreach ( $params as $param ) {
241 239
 				$parameters[$param->getName()] = $param->getValue();
242 240
 			}
243
-		}
244
-		else {
241
+		} else {
245 242
 			$parameters = $params;
246 243
 		}
247 244
 
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 	 *
133 133
 	 * @param string $param
134 134
 	 *
135
-	 * @return array
135
+	 * @return string[]
136 136
 	 */
137 137
 	protected static function getSubParams( $param ) {
138 138
 		$sub_params = [];
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 *
263 263
 	 * @param CompoundQueryResult $res
264 264
 	 * @param array $params These need to be the result of a list fed to getProcessedParams as of SMW 1.6.2
265
-	 * @param $outputmode
265
+	 * @param integer $outputmode
266 266
 	 * @param $context
267 267
 	 * @param string $format
268 268
 	 *
Please login to merge, or discard this patch.
src/Api/CompoundQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 	 * @codeCoverageIgnore
67 67
 	 * @see ApiBase::getDescription
68 68
 	 *
69
-	 * @return array
69
+	 * @return string[]
70 70
 	 */
71 71
 	public function getDescription() {
72 72
 		return [
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 	 * @codeCoverageIgnore
79 79
 	 * @see ApiBase::getExamples
80 80
 	 *
81
-	 * @return array
81
+	 * @return string[]
82 82
 	 */
83 83
 	protected function getExamples() {
84 84
 		return [
Please login to merge, or discard this patch.