Completed
Push — master ( 049abe...7733bc )
by Andrew
10s
created
app/classy/classy-config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
 	/**
13 13
 	 * Returns list of allowed variables that can be used in theme config
14 14
 	 * 
15
-	 * @return array
15
+	 * @return string[]
16 16
 	 */
17 17
 	private static function get_allowed_variables() {
18 18
 		
Please login to merge, or discard this patch.
app/classy/classy.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,6 +54,7 @@  discard block
 block discarded – undo
54 54
 	 * 
55 55
 	 * @param  string
56 56
 	 * @param  string
57
+	 * @param string $name
57 58
 	 */
58 59
 	private function define( $name, $value ) {
59 60
 		if ( !defined($name) ) {
@@ -241,7 +242,7 @@  discard block
 block discarded – undo
241 242
 
242 243
 	/**
243 244
 	 * @param array   $prefs
244
-	 * @return array mixed
245
+	 * @return stdClass mixed
245 246
 	 */
246 247
 	public static function get_pagination( $prefs = array() ) {
247 248
 		global $wp_query;
Please login to merge, or discard this patch.
app/models/classy-user.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@
 block discarded – undo
61 61
 		$this->init();
62 62
 	}
63 63
 
64
+	/**
65
+	 * @param integer|null $uid
66
+	 */
64 67
 	private function verify_id($uid) {
65 68
 		return $uid;
66 69
 	}
Please login to merge, or discard this patch.
app/classy/classy-comment.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 	/**
63 63
 	 * Returns ClassyUser object of comment author
64 64
 	 * 
65
-	 * @return object ClassyUser
65
+	 * @return ClassyUser ClassyUser
66 66
 	 */
67 67
 	public function author() {
68 68
 		
Please login to merge, or discard this patch.
app/classy/classy-scope.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@
 block discarded – undo
43 43
 	/**
44 44
 	 * Extends Scope with scope that is defined in theme_name/scope folder
45 45
 	 * 
46
+	 * @param string|false $view_name
46 47
 	 * @return array
47 48
 	 */
48 49
 	public static function extend_scope($scope, $view_name) {
Please login to merge, or discard this patch.
app/classy/classy-hierarchy.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 	 * Checks if view exists
111 111
 	 *
112 112
 	 * @param  string $type view/scope
113
-	 * @param  string $view in blade path format, ex: layout/header
113
+	 * @param string|false $file
114 114
 	 * @return boolean true/false
115 115
 	 */
116 116
 	public static function file_exists( $type = 'view', $file ) {
@@ -129,7 +129,8 @@  discard block
 block discarded – undo
129 129
 	 *
130 130
 	 * @param  string $type view/scope
131 131
 	 * @param  string $type
132
-	 * @return array
132
+	 * @param string $page
133
+	 * @return string|false
133 134
 	 */
134 135
 	public static function get_available_file( $type = 'view', $page ) {
135 136
 
@@ -370,7 +371,7 @@  discard block
 block discarded – undo
370 371
 	/**
371 372
 	 * Returns classy template name or boolean if this is not classy template
372 373
 	 *
373
-	 * @return mixed
374
+	 * @return string|false
374 375
 	 */
375 376
 	public static function get_classy_template() {
376 377
 
Please login to merge, or discard this patch.
app/models/classy-post.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
 	/**
187 187
 	 * Returns first attached image id
188 188
 	 *
189
-	 * @return int/boolean
189
+	 * @return integer|null
190 190
 	 */
191 191
 	public function get_first_attached_image_id() {
192 192
 
Please login to merge, or discard this patch.