Completed
Push — master ( 944e8c...873a6a )
by mw
32:14
created
src/StringCondition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	/**
46 46
 	 * @since 1.0
47 47
 	 *
48
-	 * @param srting $string
48
+	 * @param string $string
49 49
 	 * @param integer $condition
50 50
 	 * @param boolean $asDisjunctiveCondition
51 51
 	 */
Please login to merge, or discard this patch.
tests/phpunit/Benchmark/Benchmarker.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	/**
84 84
 	 * @since 2.1
85 85
 	 *
86
-	 * @return integer
86
+	 * @return double
87 87
 	 */
88 88
 	public function getSum() {
89 89
 		return $this->round( array_sum( $this->container ) );
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 	/**
93 93
 	 * @since 2.1
94 94
 	 *
95
-	 * @return integer
95
+	 * @return double
96 96
 	 */
97 97
 	public function getMean() {
98 98
 		return $this->round( $this->getSum() / count( $this->container ) );
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	/**
121 121
 	 * @since 2.1
122 122
 	 *
123
-	 * @return integer
123
+	 * @return double
124 124
 	 */
125 125
 	public function getStandardDeviation() {
126 126
 		return $this->round( (float)sqrt( $this->getVariance() ) );
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 *
132 132
 	 * @param integer $basis
133 133
 	 *
134
-	 * @return integer
134
+	 * @return double
135 135
 	 */
136 136
 	public function getStandardScoreBy( $basis = 0 ) {
137 137
 		return $this->round( ( $basis - $this->getMean() ) / $this->getStandardDeviation() );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 	 *
143 143
 	 * @param integer $basis
144 144
 	 *
145
-	 * @return integer
145
+	 * @return double
146 146
 	 */
147 147
 	public function getNormalizedValueBy( $basis = 1 ) {
148 148
 		return $this->round( $this->getMean() / $basis );
Please login to merge, or discard this patch.
tests/phpunit/Benchmark/QueryEngineBenchmark.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -210,6 +210,9 @@
 block discarded – undo
210 210
 		return $queryResult;
211 211
 	}
212 212
 
213
+	/**
214
+	 * @param QueryResult $queryResult
215
+	 */
213 216
 	private function benchmarkQueryResultSerialization( $queryResult ) {
214 217
 
215 218
 		if ( !$queryResult instanceof QueryResult || $queryResult->getCount() == 0 ) {
Please login to merge, or discard this patch.
tests/phpunit/ByJsonTestCaseProvider.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@  discard block
 block discarded – undo
86 86
 		parent::tearDown();
87 87
 	}
88 88
 
89
+	/**
90
+	 * @return string
91
+	 */
89 92
 	abstract protected function getTestCaseLocation();
90 93
 
91 94
 	/**
@@ -201,6 +204,9 @@  discard block
 block discarded – undo
201 204
 		}
202 205
 	}
203 206
 
207
+	/**
208
+	 * @param string $key
209
+	 */
204 210
 	protected function changeGlobalSettingTo( $key, $value ) {
205 211
 
206 212
 		if ( $key === '' || $value === '' ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/DataValues/UriValueTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
 		);
86 86
 	}
87 87
 
88
+	/**
89
+	 * @param UriValue $instance
90
+	 */
88 91
 	private function assertOutputFormatting( $instance, $linker, $expected ) {
89 92
 
90 93
 		$this->assertEquals(
Please login to merge, or discard this patch.
tests/phpunit/includes/DefinesTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 	/**
26 26
 	 * Returns the name of the class to be tested
27 27
 	 *
28
-	 * @return string|boolean
28
+	 * @return boolean
29 29
 	 */
30 30
 	public function getClass() {
31 31
 		return false;
Please login to merge, or discard this patch.
tests/phpunit/includes/querypages/UnusedPropertiesQueryPageTest.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 class UnusedPropertiesQueryPageTest extends SemanticMediaWikiTestCase {
24 24
 
25 25
 	/**
26
-	 * @return string|false
26
+	 * @return string
27 27
 	 */
28 28
 	public function getClass() {
29 29
 		return '\SMW\UnusedPropertiesQueryPage';
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 	/**
56 56
 	 * @since 1.9
57 57
 	 *
58
+	 * @param string $result
58 59
 	 * @return UnusedPropertiesQueryPage
59 60
 	 */
60 61
 	private function newInstance( $result = null, $values = array() ) {
Please login to merge, or discard this patch.
tests/phpunit/includes/queryprinters/AggregatablePrinterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
 	/**
36 36
 	 * Returns the name of the class to be tested
37 37
 	 *
38
-	 * @return string|false
38
+	 * @return string
39 39
 	 */
40 40
 	public function getClass() {
41 41
 		return '\SMW\AggregatablePrinter';
Please login to merge, or discard this patch.
tests/phpunit/includes/SetupTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -280,6 +280,9 @@  discard block
 block discarded – undo
280 280
 		return $this->buildDataProvider( 'wgExtensionMessagesFiles', $modules, '' );
281 281
 	}
282 282
 
283
+	/**
284
+	 * @param string $target
285
+	 */
283 286
 	private function assertArrayEntryExists( $target, $entry, $config, $type = 'class' ) {
284 287
 
285 288
 		$config = $config + $this->defaultConfig;
@@ -305,6 +308,9 @@  discard block
 block discarded – undo
305 308
 	}
306 309
 
307 310
 	/**
311
+	 * @param string $id
312
+	 * @param string[] $definitions
313
+	 * @param string $default
308 314
 	 * @return array
309 315
 	 */
310 316
 	private function buildDataProvider( $id, $definitions, $default ) {
Please login to merge, or discard this patch.