@@ -142,7 +142,7 @@ discard block |
||
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 |
||
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; |