Fix call undefined method, reported by scrutinizer-ci.com. Thank you again!