Passed
Push — scrutinizer-code-quality ( 09f5a1...c4c5fb )
by Adam
56:05 queued 14:08
created
modules/AOD_Index/Lib/Zend/Search/Lucene/Index/Writer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,6 @@
 block discarded – undo
218 218
      * @param Zend_Search_Lucene_Storage_Directory $directory
219 219
      * @param array $segmentInfos
220 220
      * @param integer $targetFormatVersion
221
-     * @param Zend_Search_Lucene_Storage_File $cleanUpLock
222 221
      */
223 222
     public function __construct(Zend_Search_Lucene_Storage_Directory $directory, &$segmentInfos, $targetFormatVersion)
224 223
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Interface.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,6 +78,7 @@  discard block
 block discarded – undo
78 78
      *
79 79
      * @param int $formatVersion
80 80
      * @throws Zend_Search_Lucene_Exception
81
+     * @return void
81 82
      */
82 83
     public function setFormatVersion($formatVersion);
83 84
 
@@ -128,6 +129,7 @@  discard block
 block discarded – undo
128 129
      * Default value is null
129 130
      *
130 131
      * @param string $fieldName
132
+     * @return void
131 133
      */
132 134
     public static function setDefaultSearchField($fieldName);
133 135
 
@@ -146,6 +148,7 @@  discard block
 block discarded – undo
146 148
      * 0 (default) means no limit
147 149
      *
148 150
      * @param integer $limit
151
+     * @return void
149 152
      */
150 153
     public static function setResultSetLimit($limit);
151 154
 
@@ -179,6 +182,7 @@  discard block
 block discarded – undo
179 182
      * Default value is 10
180 183
      *
181 184
      * @param integer $maxBufferedDocs
185
+     * @return void
182 186
      */
183 187
     public function setMaxBufferedDocs($maxBufferedDocs);
184 188
 
@@ -207,6 +211,7 @@  discard block
 block discarded – undo
207 211
      * Default value is PHP_INT_MAX
208 212
      *
209 213
      * @param integer $maxMergeDocs
214
+     * @return void
210 215
      */
211 216
     public function setMaxMergeDocs($maxMergeDocs);
212 217
 
@@ -244,7 +249,7 @@  discard block
 block discarded – undo
244 249
      *
245 250
      * Default value is 10
246 251
      *
247
-     * @param integer $maxMergeDocs
252
+     * @return void
248 253
      */
249 254
     public function setMergeFactor($mergeFactor);
250 255
 
@@ -371,11 +376,13 @@  discard block
 block discarded – undo
371 376
      * Adds a document to this index.
372 377
      *
373 378
      * @param Zend_Search_Lucene_Document $document
379
+     * @return void
374 380
      */
375 381
     public function addDocument(Zend_Search_Lucene_Document $document);
376 382
 
377 383
     /**
378 384
      * Commit changes resulting from delete() or undeleteAll() operations.
385
+     * @return void
379 386
      */
380 387
     public function commit();
381 388
 
@@ -383,6 +390,7 @@  discard block
 block discarded – undo
383 390
      * Optimize index.
384 391
      *
385 392
      * Merges all segments into one
393
+     * @return void
386 394
      */
387 395
     public function optimize();
388 396
 
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/LockManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
      *
126 126
      * It doesn't block other read or update processes, but prevent index from the premature cleaning-up
127 127
      *
128
-     * @param Zend_Search_Lucene_Storage_Directory $defaultLockDirectory
128
+     * @param Zend_Search_Lucene_Storage_Directory $lockDirectory
129 129
      * @return Zend_Search_Lucene_Storage_File
130 130
      * @throws Zend_Search_Lucene_Exception
131 131
      */
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/MultiSearcher.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -442,7 +442,6 @@  discard block
 block discarded – undo
442 442
      *
443 443
      * Default value is 10
444 444
      *
445
-     * @param integer $maxMergeDocs
446 445
      */
447 446
     public function setMergeFactor($mergeFactor)
448 447
     {
@@ -925,7 +924,7 @@  discard block
 block discarded – undo
925 924
     /**
926 925
      * Returns term in current position
927 926
      *
928
-     * @return Zend_Search_Lucene_Index_Term|null
927
+     * @return Zend_Search_Lucene_Index_Term
929 928
      */
930 929
     public function currentTerm()
931 930
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Proxy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -321,7 +321,7 @@
 block discarded – undo
321 321
      *
322 322
      * Default value is 10
323 323
      *
324
-     * @param integer $maxMergeDocs
324
+     * @param integer $mergeFactor
325 325
      */
326 326
     public function setMergeFactor($mergeFactor)
327 327
     {
Please login to merge, or discard this patch.
AOD_Index/Lib/Zend/Search/Lucene/Search/BooleanExpressionRecognizer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
     /**
157 157
      * Process expression literal.
158 158
      *
159
-     * @param integer $operator
159
+     * @param Zend_Search_Lucene_Search_QueryEntry $literal
160 160
      */
161 161
     public function processLiteral($literal)
162 162
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Phrase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@
 block discarded – undo
291 291
      * Score calculator for exact phrase queries (terms sequence is fixed)
292 292
      *
293 293
      * @param integer $docId
294
-     * @return float
294
+     * @return integer
295 295
      */
296 296
     public function _exactPhraseFreq($docId)
297 297
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Range.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     /**
106 106
      * Get query field name
107 107
      *
108
-     * @return string|null
108
+     * @return string
109 109
      */
110 110
     public function getField()
111 111
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Get lower term
117 117
      *
118
-     * @return Zend_Search_Lucene_Index_Term|null
118
+     * @return Zend_Search_Lucene_Index_Term
119 119
      */
120 120
     public function getLowerTerm()
121 121
     {
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
     /**
126 126
      * Get upper term
127 127
      *
128
-     * @return Zend_Search_Lucene_Index_Term|null
128
+     * @return Zend_Search_Lucene_Index_Term
129 129
      */
130 130
     public function getUpperTerm()
131 131
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Query/Term.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,6 @@  discard block
 block discarded – undo
61 61
      * Zend_Search_Lucene_Search_Query_Term constructor
62 62
      *
63 63
      * @param Zend_Search_Lucene_Index_Term $term
64
-     * @param boolean $sign
65 64
      */
66 65
     public function __construct(Zend_Search_Lucene_Index_Term $term)
67 66
     {
@@ -175,7 +174,7 @@  discard block
 block discarded – undo
175 174
     /**
176 175
      * Return query terms
177 176
      *
178
-     * @return array
177
+     * @return Zend_Search_Lucene_Index_Term[]
179 178
      */
180 179
     public function getQueryTerms()
181 180
     {
Please login to merge, or discard this patch.