@@ -108,7 +108,6 @@ discard block |
||
| 108 | 108 | * and associates their author as well as their latest |
| 109 | 109 | * |
| 110 | 110 | * @param Writing_On_GitHub_Post[] $posts Array of Posts to save. |
| 111 | - * @param string $email Author email. |
|
| 112 | 111 | * |
| 113 | 112 | * @return string|WP_Error |
| 114 | 113 | */ |
@@ -178,6 +177,9 @@ discard block |
||
| 178 | 177 | return __( 'Successfully saved posts.', 'writing-on-github' ); |
| 179 | 178 | } |
| 180 | 179 | |
| 180 | + /** |
|
| 181 | + * @param Writing_On_GitHub_Post $post |
|
| 182 | + */ |
|
| 181 | 183 | protected function post_args( $post ) { |
| 182 | 184 | $args = $post->get_args(); |
| 183 | 185 | $meta = $post->get_meta(); |