Skip to content

Getting undefined method from trait #4318

Answered by ondrejmirtes
qrazi asked this question in Support
Discussion options

You must be logged in to vote

Hi, the class Application doesn't have renderTemplate method, so PHPStan is correct here. How come that it doesn't crash with an "undefined method" when running the app?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@qrazi
Comment options

@qrazi
Comment options

@ondrejmirtes
Comment options

@ondrejmirtes
Comment options

@qrazi
Comment options

Answer selected by ondrejmirtes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants