@@ -145,7 +145,7 @@ |
||
145 | 145 | * @param string $url URL of the content to be embedded. |
146 | 146 | * @param array $atts Shortcode attributes. |
147 | 147 | * |
148 | - * @return array $params Array of parameters to be used in Instagram query. |
|
148 | + * @return string $params Array of parameters to be used in Instagram query. |
|
149 | 149 | */ |
150 | 150 | function jetpack_instagram_get_allowed_parameters( $url, $atts = array() ) { |
151 | 151 | global $content_width; |
@@ -595,7 +595,7 @@ |
||
595 | 595 | * |
596 | 596 | * @param array $dirty Unsantized data for the widget. |
597 | 597 | * |
598 | - * @return array Santized data. |
|
598 | + * @return integer Santized data. |
|
599 | 599 | */ |
600 | 600 | public function sanitize_instance( $dirty ) { |
601 | 601 | $now = (int) current_time( 'timestamp' ); // phpcs:ignore WordPress.DateTime.CurrentTimeTimestamp.Requested |