Skip to content

Add phpstan type to NewsHandler#1932

Open
markrandall wants to merge 1 commit into
php:previewfrom
markrandall:phpstan-news-types
Open

Add phpstan type to NewsHandler#1932
markrandall wants to merge 1 commit into
php:previewfrom
markrandall:phpstan-news-types

Conversation

@markrandall

Copy link
Copy Markdown

Defines shape of NewsHandler entry.

Comment thread src/News/NewsHandler.php Outdated
Comment thread src/News/NewsHandler.php Outdated
@markrandall

Copy link
Copy Markdown
Author

It turns out that $entry['updated'] isn't universal, so I had to touch a few extra controllers to make them fall back to $entry['published']

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