Test Failed
Push — CI ( 02428e...3e0292 )
by Adam
55:43
created
include/DetailView/DetailView2.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@
 block discarded – undo
54 54
      * This is the DetailView constructor responsible for processing the new
55 55
      * Meta-Data framework
56 56
      *
57
-     * @param $module String value of module this detail view is for
57
+     * @param string $module String value of module this detail view is for
58 58
      * @param $focus An empty sugarbean object of module
59 59
      * @param $id The record id to retrieve and populate data for
60
-     * @param $metadataFile String value of file location to use in overriding default metadata file
60
+     * @param string $metadataFile String value of file location to use in overriding default metadata file
61 61
      * @param tpl String value of file location to use in overriding default Smarty template
62 62
      */
63 63
 
Please login to merge, or discard this patch.
include/dir_inc.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -236,6 +236,9 @@
 block discarded – undo
236 236
     return $the_array;
237 237
 }
238 238
 
239
+/**
240
+ * @param string $the_dir
241
+ */
239 242
 function findAllFilesRelative( $the_dir, $the_array ){
240 243
     if(!is_dir($the_dir)) {
241 244
 		return $the_array;
Please login to merge, or discard this patch.
include/EditView/EditView2.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -573,7 +573,7 @@
 block discarded – undo
573 573
      * generated view.
574 574
      * @param $showTitle boolean value indicating whether or not to show a title on the resulting page
575 575
      * @param $ajaxSave boolean value indicating whether or not the operation is an Ajax save request
576
-     * @return HTML display for view as String
576
+     * @return string display for view as String
577 577
      */
578 578
     function display($showTitle = true, $ajaxSave = false)
579 579
     {
Please login to merge, or discard this patch.
include/EditView/SubpanelQuickCreate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
      *  4. module/editviewdefs.php
187 187
      *
188 188
      * @param $module
189
-     * @param $view
189
+     * @param string $view
190 190
      * @return string The path to the viewdefs file to use
191 191
      */
192 192
     public function getModuleViewDefsSourceFile($module, $view) {
Please login to merge, or discard this patch.
include/EditView/SugarVCR.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -46,6 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
  	/**
48 48
  	 * records the query in the session for later retrieval
49
+ 	 * @param string $query
49 50
  	 */
50 51
  	static function store($module, $query){
51 52
  		$_SESSION[$module .'2_QUERY'] = $query;
@@ -79,6 +80,9 @@  discard block
 block discarded – undo
79 80
  		return $menu;
80 81
  	}
81 82
 
83
+    /**
84
+     * @param string $module
85
+     */
82 86
     static function menu($module, $offset, $isAuditEnabled, $saveAndContinue = false ){
83 87
         $html_text = "";
84 88
         if ($offset < 0)
@@ -173,6 +177,9 @@  discard block
 block discarded – undo
173 177
  		return $ids;
174 178
  	}
175 179
 
180
+ 	/**
181
+ 	 * @param string $module
182
+ 	 */
176 183
  	static function recordIDs($module, $rids, $offset, $totalCount){
177 184
  		$index = $offset;
178 185
  		$index++;
Please login to merge, or discard this patch.
include/externalAPI/Base/ExternalAPIBase.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,6 +110,9 @@  discard block
 block discarded – undo
110 110
         return array('success' => true);
111 111
     }
112 112
 
113
+    /**
114
+     * @param string $value
115
+     */
113 116
     protected function getValue($value)
114 117
     {
115 118
         if(!empty($this->$value)) {
@@ -209,7 +212,7 @@  discard block
 block discarded – undo
209 212
 	 * that are being checked deal with handling the behavior of closing/hiding windows/tabs that
210 213
 	 * are displayed when prompting for OAUTH validation
211 214
 	 *
212
-	 * @param $callback_url String value of callback URL
215
+	 * @param string $callback_url String value of callback URL
213 216
 	 * @return String value of URL with applicable formatting
214 217
 	 */
215 218
 	protected function formatCallbackURL($callback_url)
Please login to merge, or discard this patch.
include/externalAPI/cmis_repository_wrapper.php 1 patch
Doc Comments   +35 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@  discard block
 block discarded – undo
151 151
         return $retval;
152 152
     }
153 153
 
154
+    /**
155
+     * @param string $contentType
156
+     */
154 157
     function doPost($url, $content, $contentType, $charset = null)
155 158
     {
156 159
         $retval = $this->doRequest($url, "POST", $content, $contentType);
@@ -367,6 +370,10 @@  discard block
 block discarded – undo
367 370
         return CMISRepositoryWrapper :: extractObjectFromNode($doc);
368 371
 
369 372
     }
373
+
374
+    /**
375
+     * @param DOMDocument $xmlnode
376
+     */
370 377
     static function extractObjectFromNode($xmlnode)
371 378
     {
372 379
         // Extracts the contents of an Object and organizes them into:
@@ -430,6 +437,10 @@  discard block
 block discarded – undo
430 437
         return CMISRepositoryWrapper :: extractTypeDefFromNode($doc);
431 438
 
432 439
     }
440
+
441
+    /**
442
+     * @param DOMDocument $xmlnode
443
+     */
433 444
     static function extractTypeDefFromNode($xmlnode)
434 445
     {
435 446
         // Extracts the contents of an Object and organizes them into:
@@ -501,6 +512,10 @@  discard block
 block discarded – undo
501 512
         $doc->loadXML($xmldata);
502 513
         return CMISRepositoryWrapper :: extractObjectFeedFromNode($doc);
503 514
     }
515
+
516
+    /**
517
+     * @param DOMDocument $xmlnode
518
+     */
504 519
     static function extractObjectFeedFromNode($xmlnode)
505 520
     {
506 521
         // Process a feed and extract the objects
@@ -533,6 +548,10 @@  discard block
 block discarded – undo
533 548
         $doc->loadXML($xmldata);
534 549
         return CMISRepositoryWrapper :: extractTypeFeedFromNode($doc);
535 550
     }
551
+
552
+    /**
553
+     * @param DOMDocument $xmlnode
554
+     */
536 555
     static function extractTypeFeedFromNode($xmlnode)
537 556
     {
538 557
         // Process a feed and extract the objects
@@ -560,6 +579,10 @@  discard block
 block discarded – undo
560 579
         $doc->loadXML($xmldata);
561 580
         return CMISRepositoryWrapper :: extractWorkspaceFromNode($doc);
562 581
     }
582
+
583
+    /**
584
+     * @param DOMDocument $xmlnode
585
+     */
563 586
     static function extractWorkspaceFromNode($xmlnode)
564 587
     {
565 588
         // Assumes only one workspace for now
@@ -672,6 +695,9 @@  discard block
 block discarded – undo
672 695
         $this->_objTypeId_cache[$obj->id] = $obj->properties["cmis:objectTypeId"];
673 696
     }
674 697
 
698
+    /**
699
+     * @param stdClass $objs
700
+     */
675 701
     function cacheFeedInfo($objs)
676 702
     {
677 703
         foreach ($objs->objectList as $obj)
@@ -680,6 +706,9 @@  discard block
 block discarded – undo
680 706
         }
681 707
     }
682 708
 
709
+    /**
710
+     * @param stdClass $typs
711
+     */
683 712
     function cacheTypeFeedInfo($typs)
684 713
     {
685 714
         foreach ($typs->objectList as $typ)
@@ -724,6 +753,9 @@  discard block
 block discarded – undo
724 753
         return $obj->properties["cmis:name"];
725 754
     }
726 755
 
756
+    /**
757
+     * @param string $linkName
758
+     */
727 759
     function getTypeLink($typeId, $linkName)
728 760
     {
729 761
         if ($this->_type_cache[$typeId]->links)
@@ -734,6 +766,9 @@  discard block
 block discarded – undo
734 766
         return $typ->links[$linkName];
735 767
     }
736 768
 
769
+    /**
770
+     * @param string $linkName
771
+     */
737 772
     function getLink($objectId, $linkName)
738 773
     {
739 774
         if ($this->_link_cache[$objectId][$linkName])
Please login to merge, or discard this patch.
include/formbase.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -235,6 +235,9 @@  discard block
 block discarded – undo
235 235
 }
236 236
 
237 237
 //eggsurplus: abstract to simplify unit testing
238
+/**
239
+ * @return string
240
+ */
238 241
 function buildRedirectURL($return_id='', $return_module='') 
239 242
 {
240 243
     if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != "")
@@ -339,6 +342,9 @@  discard block
 block discarded – undo
339 342
     }
340 343
 }
341 344
 
345
+/**
346
+ * @param string $fieldname
347
+ */
342 348
 function getLikeForEachWord($fieldname, $value, $minsize=4)
343 349
 {
344 350
 	$value = trim($value);
Please login to merge, or discard this patch.
include/generic/LayoutManager.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -62,11 +62,18 @@
 block discarded – undo
62 62
 		$this->DBHelper = $GLOBALS['db'];
63 63
 	}
64 64
 
65
+	/**
66
+	 * @param string $key
67
+	 * @param string $value
68
+	 */
65 69
 	function setAttribute($key,$value)
66 70
 	{
67 71
 		$this->defs[$key] = $value;
68 72
 	}
69 73
 
74
+	/**
75
+	 * @param string $key
76
+	 */
70 77
 	function setAttributePtr($key,&$value)
71 78
 	{
72 79
 		$this->defs[$key] = $value;
Please login to merge, or discard this patch.