Completed
Push — master ( 5796ad...446f8c )
by Devin
20:22
created
includes/misc-functions.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
  *
324 324
  * @since 1.0
325 325
  * @uses  Give()->session->get()
326
- * @return mixed array | false
326
+ * @return string array | false
327 327
  */
328 328
 function give_get_purchase_session() {
329 329
 	return Give()->session->get( 'give_purchase' );
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
  * Returns the webhost this site is using if possible
361 361
  *
362 362
  * @since 1.0
363
- * @return mixed string $host if detected, false otherwise
363
+ * @return string string $host if detected, false otherwise
364 364
  */
365 365
 function give_get_host() {
366 366
 	$host = false;
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
  *
552 552
  * @since 1.0
553 553
  *
554
- * @param unknown $n
554
+ * @param integer $n
555 555
  *
556 556
  * @return string Short month name
557 557
  */
@@ -681,9 +681,9 @@  discard block
 block discarded – undo
681 681
 /**
682 682
  * Create SVG library function
683 683
  *
684
- * @param $icon
684
+ * @param string $icon
685 685
  *
686
- * @return mixed
686
+ * @return string
687 687
  */
688 688
 function give_svg_icons( $icon ) {
689 689
 
@@ -740,7 +740,7 @@  discard block
 block discarded – undo
740 740
 	 *
741 741
 	 * @param array $input A multi-dimensional array (record set) from which to pull
742 742
 	 *                         a column of values.
743
-	 * @param mixed $columnKey The column of values to return. This value may be the
743
+	 * @param string $columnKey The column of values to return. This value may be the
744 744
 	 *                         integer key of the column you wish to retrieve, or it
745 745
 	 *                         may be the string key name for an associative array.
746 746
 	 * @param mixed $indexKey (Optional.) The column to use as the index/keys for
@@ -894,11 +894,11 @@  discard block
 block discarded – undo
894 894
 	/**
895 895
 	 * cal_days_in_month
896 896
 	 *
897
-	 * @param $calendar
897
+	 * @param integer $calendar
898 898
 	 * @param $month
899 899
 	 * @param $year
900 900
 	 *
901
-	 * @return bool|string
901
+	 * @return string
902 902
 	 */
903 903
 	function cal_days_in_month( $calendar, $month, $year ) {
904 904
 		return date( 't', mktime( 0, 0, 0, $month, 1, $year ) );
Please login to merge, or discard this patch.