Completed
Push — master ( bc6754...ed64c2 )
by
unknown
07:19
created
app/classes/classy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
 	 *
260 260
 	 * @param array $prefs Args for paginate_links.
261 261
 	 *
262
-	 * @return array mixed
262
+	 * @return \stdClass mixed
263 263
 	 */
264 264
 	public static function get_pagination( $prefs = array() ) {
265 265
 
Please login to merge, or discard this patch.
app/classes/comment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 	/**
95 95
 	 * Returns User object of comment author
96 96
 	 *
97
-	 * @return object User
97
+	 * @return Models\User User
98 98
 	 */
99 99
 	public function author() {
100 100
 
Please login to merge, or discard this patch.
app/classes/helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
 	 *
14 14
 	 * @param string  $text
15 15
 	 * @param int     $num_words
16
-	 * @param string|null|false  $more text to appear in "Read more...". Null to use default, false to hide
16
+	 * @param boolean  $more text to appear in "Read more...". Null to use default, false to hide
17 17
 	 * @param string  $allowed_tags
18 18
 	 * @return string
19 19
 	 */
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 	 * Converts array to object recursively
223 223
 	 *
224 224
 	 * @param  array $array
225
-	 * @return object
225
+	 * @return \stdClass
226 226
 	 */
227 227
 	public static function array_to_object( $array ) {
228 228
 		$obj = new \stdClass;
Please login to merge, or discard this patch.
app/classes/models/post.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,8 @@  discard block
 block discarded – undo
97 97
 		if ( is_integer( $post ) ) {
98 98
 			$this->ID = $post;
99 99
 			$this->init();
100
-		} elseif ( is_a( $post, '\WP_Post' ) ) {
100
+		}
101
+		elseif ( is_a( $post, '\WP_Post' ) ) {
101 102
 			$this->import( $post );
102 103
 		}
103 104
 	}
@@ -375,7 +376,8 @@  discard block
 block discarded – undo
375 376
 			if ( $force ) {
376 377
 				$text = Helper::trim_words( $this->post_excerpt, $len, false );
377 378
 				$trimmed = true;
378
-			} else {
379
+			}
380
+			else {
379 381
 				$text = $this->post_excerpt;
380 382
 			}
381 383
 		}
@@ -434,7 +436,8 @@  discard block
 block discarded – undo
434 436
 
435 437
 			if ( $readmore && isset( $readmore_matches ) && ! empty( $readmore_matches[1] ) ) {
436 438
 				$text .= ' <a href="' . $this->get_permalink() . '" class="read-more">' . trim( $readmore_matches[1] ) . '</a>';
437
-			} elseif ( $readmore ) {
439
+			}
440
+			elseif ( $readmore ) {
438 441
 				$text .= ' <a href="' . $this->get_permalink() . '" class="read-more">' . trim( $readmore ) . '</a>';
439 442
 			}
440 443
 
Please login to merge, or discard this patch.