Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor code fixes found with PhpStorm, Php Inspections and PHPStan #757

Closed
wants to merge 3 commits into from
Closed

Minor code fixes found with PhpStorm, Php Inspections and PHPStan #757

wants to merge 3 commits into from

Conversation

javiereguiluz
Copy link
Member

No description provided.

{
return $this->post;
}

public function setPost(Post $post): void
public function setPost(?Post $post): void
Copy link
Member

@yceruto yceruto Jan 30, 2018

Choose a reason for hiding this comment

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

Btw, could we do the same on Post::setTitle() & Co. to fix #741?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea! Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants