Completed
Push — update/jetpack-videopress-fiel... ( 82c21f )
by
unknown
10:04 queued 01:27
created
_inc/lib/core-api/wpcom-fields/attachment-fields-videopress.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 	 *
100 100
 	 * @param object $attachment The attachment object.
101 101
 	 *
102
-	 * @return false|int
102
+	 * @return boolean
103 103
 	 */
104 104
 	public function is_video( $attachment ) {
105 105
 		return wp_startswith( $attachment->post_mime_type, 'video/' );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 	 * @param mixed           $object Response from the attachment endpoint.
143 143
 	 * @param WP_REST_Request $request Request to the attachment endpoint.
144 144
 	 *
145
-	 * @return true
145
+	 * @return boolean
146 146
 	 */
147 147
 	public function get_permission_check( $object, $request ) {
148 148
 		return true;
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * @param WP_Post         $object The attachment object.
157 157
 	 * @param WP_REST_Request $request Request to the attachment endpoint.
158 158
 	 *
159
-	 * @return true
159
+	 * @return boolean
160 160
 	 */
161 161
 	public function update_permission_check( $value, $object, $request ) {
162 162
 		return true;
Please login to merge, or discard this patch.