Passed
Push — scrutinizer-code-quality ( eedb15...27193c )
by Adam
54:15 queued 15s
created
AOD_Index/Lib/Zend/Search/Lucene/Analysis/TokenFilter/ShortWords.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
     /**
47 47
      * Constructs new instance of this filter.
48 48
      *
49
-     * @param integer $short  minimum allowed length of term which passes this filter (default 2)
50 49
      */
51 50
     public function __construct($length = 2) {
52 51
         $this->length = $length;
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Document/Html.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -406,7 +406,7 @@
 block discarded – undo
406 406
      *
407 407
      * @param string|array $words  Words to highlight. Words could be organized using the array or string.
408 408
      * @param callback $callback   Callback method, used to transform (highlighting) text.
409
-     * @param array    $params     Array of additionall callback parameters passed through into it
409
+     * @param string[]    $params     Array of additionall callback parameters passed through into it
410 410
      *                             (first non-optional parameter is an HTML fragment for highlighting)
411 411
      * @return string
412 412
      * @throws Zend_Search_Lucene_Exception
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Field.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,6 @@
 block discarded – undo
169 169
      *
170 170
      * @param string $name
171 171
      * @param string $value
172
-     * @param string $encoding
173 172
      * @return Zend_Search_Lucene_Field
174 173
      */
175 174
     public static function binary($name, $value)
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/FSM.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -130,8 +130,8 @@  discard block
 block discarded – undo
130 130
      * FSM actions are very flexible and may be defined by addEntryAction(), addExitAction(),
131 131
      * addInputAction() and addTransitionAction() calls.
132 132
      *
133
-     * @param array $states
134
-     * @param array $inputAphabet
133
+     * @param integer[] $states
134
+     * @param integer[] $inputAphabet
135 135
      * @param array $rules
136 136
      */
137 137
     public function __construct($states = array(), $inputAphabet = array(), $rules = array())
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
      * Several entry actions are allowed.
283 283
      * Action execution order is defined by addEntryAction() calls
284 284
      *
285
-     * @param integer|string $state
285
+     * @param integer $state
286 286
      * @param Zend_Search_Lucene_FSMAction $action
287 287
      */
288 288
     public function addEntryAction($state, Zend_Search_Lucene_FSMAction $action)
@@ -327,7 +327,6 @@  discard block
 block discarded – undo
327 327
      * Action execution order is defined by addInputAction() calls
328 328
      *
329 329
      * @param integer|string $state
330
-     * @param integer|string $input
331 330
      * @param Zend_Search_Lucene_FSMAction $action
332 331
      */
333 332
     public function addInputAction($state, $inputSymbol, Zend_Search_Lucene_FSMAction $action)
@@ -356,8 +355,8 @@  discard block
 block discarded – undo
356 355
      * Several transition actions are allowed.
357 356
      * Action execution order is defined by addTransitionAction() calls
358 357
      *
359
-     * @param integer|string $sourceState
360
-     * @param integer|string $targetState
358
+     * @param integer $sourceState
359
+     * @param integer $targetState
361 360
      * @param Zend_Search_Lucene_FSMAction $action
362 361
      */
363 362
     public function addTransitionAction($sourceState, $targetState, Zend_Search_Lucene_FSMAction $action)
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentInfo.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1499,6 +1499,7 @@  discard block
 block discarded – undo
1499 1499
      * Checks, that document is deleted
1500 1500
      *
1501 1501
      * @param integer
1502
+     * @param integer $id
1502 1503
      * @return boolean
1503 1504
      */
1504 1505
     public function isDeleted($id)
@@ -1762,8 +1763,6 @@  discard block
 block discarded – undo
1762 1763
      *
1763 1764
      * Returns start document id for the next segment
1764 1765
      *
1765
-     * @param integer $startId
1766
-     * @param integer $mode
1767 1766
      * @throws Zend_Search_Lucene_Exception
1768 1767
      * @return integer
1769 1768
      */
@@ -2110,7 +2109,7 @@  discard block
 block discarded – undo
2110 2109
     /**
2111 2110
      * Returns term in current position
2112 2111
      *
2113
-     * @return Zend_Search_Lucene_Index_Term|null
2112
+     * @return Zend_Search_Lucene_Index_Term
2114 2113
      */
2115 2114
     public function currentTerm()
2116 2115
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Index/SegmentMerger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
     /**
92 92
      * Add segmnet to a collection of segments to be merged
93 93
      *
94
-     * @param Zend_Search_Lucene_Index_SegmentInfo $segment
94
+     * @param Zend_Search_Lucene_Index_SegmentInfo $segmentInfo
95 95
      */
96 96
     public function addSource(Zend_Search_Lucene_Index_SegmentInfo $segmentInfo)
97 97
     {
Please login to merge, or discard this patch.
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.