Test Failed
Push — CI ( 02428e...3e0292 )
by Adam
55:43
created
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.
modules/AOD_Index/Lib/Zend/Search/Lucene/Search/QueryToken.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Returns all possible lexeme types.
58 58
      * It's used for syntax analyzer state machine initialization
59 59
      *
60
-     * @return array
60
+     * @return integer[]
61 61
      */
62 62
     public static function getTypes()
63 63
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * IndexReader constructor needs token type and token text as a parameters.
120 120
      *
121 121
      * @param integer $tokenCategory
122
-     * @param string  $tokText
122
+     * @param string  $tokenText
123 123
      * @param integer $position
124 124
      */
125 125
     public function __construct($tokenCategory, $tokenText, $position)
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Search/Similarity.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -407,8 +407,8 @@  discard block
 block discarded – undo
407 407
     /**
408 408
      * Float to byte conversion
409 409
      *
410
-     * @param integer $b
411
-     * @return float
410
+     * @param double $f
411
+     * @return integer
412 412
      */
413 413
     private static function _floatToByte($f)
414 414
     {
@@ -494,7 +494,7 @@  discard block
 block discarded – undo
494 494
      *
495 495
      * @param mixed $input
496 496
      * @param Zend_Search_Lucene_Interface $reader
497
-     * @return a score factor for the term
497
+     * @return double score factor for the term
498 498
      */
499 499
     public function idf($input, Zend_Search_Lucene_Interface $reader)
500 500
     {
Please login to merge, or discard this patch.
modules/AOD_Index/Lib/Zend/Search/Lucene/Storage/Directory/Filesystem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -322,7 +322,7 @@
 block discarded – undo
322 322
      * Sets the modified time of $filename to now.
323 323
      *
324 324
      * @param string $filename
325
-     * @return void
325
+     * @return boolean
326 326
      */
327 327
     public function touchFile($filename)
328 328
     {
Please login to merge, or discard this patch.
modules/AOD_Index/PdfParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
   /**
42 42
    * Convert a PDF into text.
43 43
    *
44
-   * @param string $filename The filename to extract the data from.
44
+   * @param string $data
45 45
    * @return string The extracted text from the PDF
46 46
    */
47 47
   protected static function extractText($data)
Please login to merge, or discard this patch.
modules/AOP_Case_Events/CaseEventsHook.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
         array('field'=> 'type', 'display_field' => 'type', 'display_name' => 'Type'),
32 32
     );
33 33
 
34
+    /**
35
+     * @param aCase $old
36
+     */
34 37
     private function compareBeans($old, $new){
35 38
         $events = array();
36 39
         foreach($this->diff_fields as $field){
Please login to merge, or discard this patch.
modules/AOP_Case_Updates/CaseUpdatesHook.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -443,6 +443,9 @@
 block discarded – undo
443 443
         }
444 444
     }
445 445
 
446
+    /**
447
+     * @param SugarPHPMailer $mailer
448
+     */
446 449
     private function logEmail($email, $mailer, $caseId = null){
447 450
         require_once('modules/Emails/Email.php');
448 451
         $emailObj = new Email();
Please login to merge, or discard this patch.