Removed PHP 5.4 strict mode errrors

Removed PHP 5.4 strict mode errrors when calling methods within Yaml class