Skip to content

Clean up WP connector#57

Merged
rmccue merged 7 commits into
masterfrom
clean-up-wp-connector
May 29, 2019
Merged

Clean up WP connector#57
rmccue merged 7 commits into
masterfrom
clean-up-wp-connector

Conversation

@rmccue
Copy link
Copy Markdown
Member

@rmccue rmccue commented May 28, 2019

With the updates in #56, there's a bunch of stuff that can be done for some cleanup now.

@rmccue rmccue mentioned this pull request May 28, 2019
@rmccue
Copy link
Copy Markdown
Member Author

rmccue commented May 28, 2019

@joehoyle can you check I've not done anything dumb here please? :)

* @param WP_Post $post Post to notify for.
* @return string Plain text message.
*/
protected function get_post_content_as_text( WP_Post $post ) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the type hint here, but not below?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No real reason, just did it on a whim as I was going.

@rmccue rmccue merged commit 31d8fd9 into master May 29, 2019
@rmccue rmccue deleted the clean-up-wp-connector branch May 29, 2019 18:04
@rmccue rmccue mentioned this pull request May 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants