Completed
Push — master ( bdd74f...e21aca )
by
unknown
13:38
created
includes/modules/wps_message/controller/wps_message_ctr.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
 		return $output;
140 140
 	}
141 141
 
142
+	/**
143
+	 * @param string $code
144
+	 */
142 145
 	public static function get_xml_messages( $code = null ) {
143 146
 		if ( is_null( self::$xml_messages ) ) {
144 147
 			$xml_default_emails = file_get_contents( WP_PLUGIN_DIR . '/' . WPSHOP_PLUGIN_DIR . '/assets/datas/default_emails.xml' );
@@ -328,7 +331,11 @@  discard block
 block discarded – undo
328 331
 
329 332
 	/** Store a new message
330 333
 	 *
331
-	 * @return boolean
334
+	 * @param string $email
335
+	 * @param string $title
336
+	 * @param string $message
337
+	 * @param integer $model_id
338
+	 * @return boolean|null
332 339
 	 */
333 340
 	function add_message( $recipient_id = 0, $email, $title, $message, $model_id, $object, $date = null ) {
334 341
 
Please login to merge, or discard this patch.