Completed
Push — phpcs/milestone-widget ( bc2c59...b22254 )
by Jeremy
62:54 queued 53:39
created
modules/widgets/rsslinks-widget.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 * Return an associative array of default values
63 63
 	 * These values are used in new widgets as well as when sanitizing input.
64 64
 	 *
65
-	 * @return array Array of default values for the Widget's options
65
+	 * @return string Array of default values for the Widget's options
66 66
 	 */
67 67
 	function defaults() {
68 68
 		return array(
@@ -172,6 +172,9 @@  discard block
 block discarded – undo
172 172
 		echo '</select></label></p></div>';
173 173
 	}
174 174
 
175
+	/**
176
+	 * @param string $type
177
+	 */
175 178
 	function _rss_link( $type, $args ) {
176 179
 		if ( 'posts' == $type ) {
177 180
 			$type_text = __( 'Posts', 'jetpack' );
Please login to merge, or discard this patch.
modules/widgets/milestone/class-milestone-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -595,7 +595,7 @@
 block discarded – undo
595 595
 	 *
596 596
 	 * @param array $dirty Unsantized data for the widget.
597 597
 	 *
598
-	 * @return array Santized data.
598
+	 * @return integer Santized data.
599 599
 	 */
600 600
 	public function sanitize_instance( $dirty ) {
601 601
 		$now = (int) current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested
Please login to merge, or discard this patch.