Fixing Components for PHP 5.4 Strict errors

sorry didn't know how to amend an existing PR