Completed
Push — master ( f5d374...685013 )
by mw
47:54 queued 25:05
created
QueryEngine/DescriptionInterpreters/DispatchingDescriptionInterpreter.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 	/**
45 45
 	 * @param Description $description
46 46
 	 *
47
-	 * @return QuerySegment
47
+	 * @return \SMW\SQLStore\QueryEngine\QuerySegment
48 48
 	 * @throws InvalidArgumentException
49 49
 	 */
50 50
 	public function interpretDescription( Description $description ) {
@@ -63,7 +63,6 @@  discard block
 block discarded – undo
63 63
 	/**
64 64
 	 * @since  2.2
65 65
 	 *
66
-	 * @param DescriptionInterpreter $defaultInterpreter
67 66
 	 */
68 67
 	public function addInterpreter( DescriptionInterpreter $interpreter ) {
69 68
 		$this->interpreters[] = $interpreter;
Please login to merge, or discard this patch.
SQLStore/QueryEngine/DescriptionInterpreters/SomePropertyInterpreter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
 	 * ValueDescription objects, create and return a plain WHERE condition
198 198
 	 * string for it.
199 199
 	 *
200
-	 * @param $query
200
+	 * @param QuerySegment $query
201 201
 	 * @param Description $description
202 202
 	 * @param SMWSQLStore3Table $proptable
203 203
 	 * @param DataItemHandler $diHandler for that table
Please login to merge, or discard this patch.
QueryEngine/DescriptionInterpreters/ValueDescriptionInterpreter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
 		return $query;
122 122
 	}
123 123
 
124
+	/**
125
+	 * @param QuerySegment $query
126
+	 */
124 127
 	private function addFulltextSearchCondition( $query, $comparator, $value ) {
125 128
 
126 129
 		// Remove &SEARCH from the search string
Please login to merge, or discard this patch.
includes/parserhooks/AskParserFunction.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,6 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @since 1.9
65 65
 	 *
66
+	 * @param boolean $mode
66 67
 	 * @return AskParserFunction
67 68
 	 */
68 69
 	public function setShowMode( $mode ) {
@@ -94,7 +95,6 @@  discard block
 block discarded – undo
94 95
 	 *
95 96
 	 * @since 1.9
96 97
 	 *
97
-	 * @param array $params
98 98
 	 *
99 99
 	 * @return string|null
100 100
 	 */
@@ -214,6 +214,9 @@  discard block
 block discarded – undo
214 214
 		return $result;
215 215
 	}
216 216
 
217
+	/**
218
+	 * @param Query $query
219
+	 */
217 220
 	private function createQueryProfile( $query, $format ) {
218 221
 
219 222
 		// If the smwgQueryProfiler is marked with FALSE then just don't create a profile.
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Parser;
6 6
 use SMWQueryProcessor;
7
-use SMWQuery as Query;
8 7
 
9 8
 /**
10 9
  * Provides the {{#ask}} parser function
Please login to merge, or discard this patch.
includes/storage/SQLStore/SMW_Sql3SmwIds.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
 	 *
724 724
 	 * @param integer $sid
725 725
 	 * @param DIWikiPage $subject
726
-	 * @param integer|string|null $interWiki
726
+	 * @param string $interWiki
727 727
 	 */
728 728
 	public function updateInterwikiField( $sid, DIWikiPage $subject, $interWiki = null ) {
729 729
 
@@ -978,9 +978,8 @@  discard block
 block discarded – undo
978 978
 	/**
979 979
 	 * @since 2.3
980 980
 	 *
981
-	 * @param integer $id
982 981
 	 *
983
-	 * @return string[]
982
+	 * @return SMW\Iterators\MappingIterator
984 983
 	 */
985 984
 	public function getDataItemPoolHashListFor( array $idlist ) {
986 985
 		return $this->idToDataItemMatchFinder->getDataItemPoolHashListFor( $idlist );
Please login to merge, or discard this patch.
src/IteratorFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 	/**
28 28
 	 * @since 2.5
29 29
 	 *
30
-	 * @param Iterator/array $$iterable
30
+	 * @param Iterator/array $iterable
31 31
 	 * @param callable $callback
32 32
 	 *
33 33
 	 * @return MappingIterator
Please login to merge, or discard this patch.
src/SQLStore/IdToDataItemMatchFinder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 	 *
77 77
 	 * @param array $idList
78 78
 	 *
79
-	 * @return DIWikiPage[]
79
+	 * @return \SMW\Iterators\MappingIterator
80 80
 	 */
81 81
 	public function getDataItemPoolHashListFor( array $idList ) {
82 82
 
Please login to merge, or discard this patch.
tests/phpunit/Unit/Iterators/ResultIteratorTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace SMW\Iterators\Tests;
4 4
 
5 5
 use SMW\Iterators\ResultIterator;
6
-use ArrayIterator;
7 6
 
8 7
 /**
9 8
  * @covers \SMW\Iterators\ResultIterator
Please login to merge, or discard this patch.
src/PropertyHierarchyLookup.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -142,6 +142,11 @@
 block discarded – undo
142 142
 		return $this->findMatchesWith( '_SUBC', $category->getDBKey(), $category, new RequestOptions() );
143 143
 	}
144 144
 
145
+	/**
146
+	 * @param string $id
147
+	 * @param string $key
148
+	 * @param RequestOptions $requestOptions
149
+	 */
145 150
 	private function findMatchesWith( $id, $key, DIWikiPage $subject, $requestOptions ) {
146 151
 
147 152
 		$key = $id . '#' . $key . '#' . $requestOptions->getHash();
Please login to merge, or discard this patch.