@@ -675,7 +675,7 @@ discard block |
||
| 675 | 675 | * |
| 676 | 676 | * @param int $post_id Current post id. |
| 677 | 677 | * |
| 678 | - * @return bool|null |
|
| 678 | + * @return false|null |
|
| 679 | 679 | */ |
| 680 | 680 | public function save_meta( $post_id ) { |
| 681 | 681 | // Check auto save. |
@@ -831,7 +831,7 @@ discard block |
||
| 831 | 831 | * @since 2.0.0 |
| 832 | 832 | * @access public |
| 833 | 833 | * |
| 834 | - * @return int|null attachment id of an image |
|
| 834 | + * @return null|string attachment id of an image |
|
| 835 | 835 | */ |
| 836 | 836 | public function get_image_id( $image_url ) { |
| 837 | 837 | $attachment_id = $this->get_attachment_id( $image_url ); |