Issue #26: fixed method calls seen as function calls
Merge pull request #27 from soxofaan/issue-26-function-method-mixup

Issue #26: fixed method calls seen as function calls
Fix issues reported by PHP_CodeSniffer