zendframework / zend-view

View component from Zend Framework
BSD 3-Clause "New" or "Revised" License
49 stars 61 forks source link

Fluent Interface missing on ConsoleModel::setErrorLevel #152

Closed porebskk closed 5 years ago

porebskk commented 6 years ago

Hello,

contrary to almost all other setter methods on classes that implement the ModelInterface, ConsoleModel::setErrorLevel ist not returning itself when the method is called. I would assume that it would return $this. I'll be adding a test and a simple fix.

Best regards

porebskk commented 6 years ago

I created a PR see #153

weierophinney commented 5 years ago

Fixed with #153