@@ -153,6 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * Get attachment images for a specified post and return them. Also make sure |
| 155 | 155 | * their dimensions are at or above a required minimum. |
| 156 | + * @param integer $post_id |
|
| 156 | 157 | */ |
| 157 | 158 | static function from_attachment( $post_id, $width = 200, $height = 200 ) { |
| 158 | 159 | $images = array(); |
@@ -545,7 +546,6 @@ discard block |
||
| 545 | 546 | * resized and cropped image. |
| 546 | 547 | * |
| 547 | 548 | * @param string $src |
| 548 | - * @param int $dimension |
|
| 549 | 549 | * @return string Transformed image URL |
| 550 | 550 | */ |
| 551 | 551 | static function fit_image_url( $src, $width, $height ) { |