Completed
Pull Request — gcconnex (#1525)
by
unknown
17:39
created
mod/elgg_solr/lib/functions.php 1 patch
Doc Comments   +12 added lines, -3 removed lines patch added patch discarded remove patch
@@ -524,9 +524,11 @@  discard block
 block discarded – undo
524 524
 /**
525 525
  * Register a function to define specific configuration of an entity in solr
526 526
  * 
527
- * @param type $type - the entity type
528
- * @param type $subtype - the entity subtype
529
- * @param type $function - the function to call for updating an entity in solr
527
+ * @param string $type - the entity type
528
+ * @param type string - the entity subtype
529
+ * @param type string - the function to call for updating an entity in solr
530
+ * @param string $subtype
531
+ * @param string $function
530 532
  */
531 533
 function elgg_solr_register_solr_entity_type($type, $subtype, $function) {
532 534
 	$solr_entities = elgg_get_config('solr_entities');
@@ -779,6 +781,9 @@  discard block
 block discarded – undo
779 781
 	return true;
780 782
 }
781 783
 
784
+/**
785
+ * @param string $message
786
+ */
782 787
 function elgg_solr_debug_log($message) {
783 788
 	error_log($message);
784 789
 }
@@ -1020,6 +1025,10 @@  discard block
 block discarded – undo
1020 1025
 	return $stats;
1021 1026
 }
1022 1027
 
1028
+/**
1029
+ * @param integer $starttime
1030
+ * @param integer $endtime
1031
+ */
1023 1032
 function elgg_solr_get_system_count($options, $starttime, $endtime) {
1024 1033
 	$options['wheres'] = array(
1025 1034
 		"e.time_created >= {$starttime}",
Please login to merge, or discard this patch.
engine/classes/ElggObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
 	/**
562 562
 	 * Return an array of fields which can be exported.
563 563
 	 *
564
-	 * @return array
564
+	 * @return string[]
565 565
 	 * @deprecated 1.9 Use toObject()
566 566
 	 */
567 567
 	public function getExportableValues() {
Please login to merge, or discard this patch.
engine/classes/ElggSite.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
 	/**
562 562
 	 * Return an array of fields which can be exported.
563 563
 	 *
564
-	 * @return array
564
+	 * @return string[]
565 565
 	 * @deprecated 1.9 Use toObject()
566 566
 	 */
567 567
 	public function getExportableValues() {
Please login to merge, or discard this patch.