Completed
Push — master ( ee1edc...002905 )
by
unknown
01:34
created
public/includes/helpers.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@  discard block
 block discarded – undo
13 13
  * @since 1.0
14 14
  */
15 15
 if( !function_exists('lasso_editor_get_option')):
16
+
17
+	/**
18
+	 * @param string $section
19
+	 */
16 20
 	function lasso_editor_get_option( $option, $section, $default = '' ) {
17 21
 
18 22
 		if ( empty( $option ) )
@@ -216,7 +220,7 @@  discard block
 block discarded – undo
216 220
  *	Return an array of categories for autocomplete
217 221
  *
218 222
  *	@since 0.9.3
219
- *	@return array all categoiries
223
+ *	@return null|string all categoiries
220 224
 */
221 225
 function lasso_get_objects( $taxonomy = 'category' ) {
222 226
 
@@ -309,7 +313,7 @@  discard block
 block discarded – undo
309 313
 *	Used internally as a callback to build a tab or content area for modal addons
310 314
 *
311 315
 *	@param $tab object
312
-*	@param $type string tab or content
316
+*	@param string $type string tab or content
313 317
 *	@uses lasso_modal_addons()
314 318
 *	@since 0.9.4
315 319
 */
Please login to merge, or discard this patch.
public/includes/editor-modules.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -923,6 +923,7 @@
 block discarded – undo
923 923
  * Takes a color code and returns an adjusted value
924 924
  * @since 1.0.0
925 925
  * Steps should be between -255 and 255. Negative = darker, positive = lighter
926
+ * @param integer $steps
926 927
  * @return string
927 928
  */
928 929
 function lasso_editor_adjustBrightness($hex, $steps) { 
Please login to merge, or discard this patch.
public/includes/lasso.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 	 *
81 81
 	 * @since    0.0.1
82 82
 	 *
83
-	 * @return    Plugin slug variable.
83
+	 * @return    string slug variable.
84 84
 	 */
85 85
 	public function get_plugin_slug() {
86 86
 		return $this->plugin_slug;
@@ -338,6 +338,9 @@  discard block
 block discarded – undo
338 338
 		exit;
339 339
 	}
340 340
 	
341
+	/**
342
+	 * @param string $type
343
+	 */
341 344
 	public static function enable_metasave($type)
342 345
 	{
343 346
 		register_rest_field( $type, 'metadata', array(
@@ -526,6 +529,9 @@  discard block
 block discarded – undo
526 529
 		return self::$revisions;
527 530
 	}*/
528 531
 	
532
+	/**
533
+	 * @param string $taxonomy
534
+	 */
529 535
 	public function set_post_terms( $postid, $value, $taxonomy ) {
530 536
 		if( $value ) {
531 537
 			$value = explode( ',', $value );
Please login to merge, or discard this patch.