rcrowe / TwigBridge

Give the power of Twig to Laravel
MIT License
895 stars 165 forks source link

Wrong type #397

Closed blodan closed 4 years ago

blodan commented 4 years ago

Not sure if this is a regression from an earlier change but in my code when i run twig:lint I get $template as a object and therefor an error is thrown.

Do I need to add a if(is_object()) { statement or is this good enough?

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.9%) to 55.271% when pulling b0ba6bb1e43c9025bf32b7e3b3c163453481c163 on blodan:master into b50247faf2f570eb2b2d0d3c98b4461f1ef60b2d on rcrowe:master.

barryvdh commented 4 years ago

Duplicate of https://github.com/rcrowe/TwigBridge/pull/364