Don't use PHP 5.4 style yet.
Use available var instead of calling the method again
Merge pull request #76 from x-team/issue-74

Don't use PHP 5.4 style yet.