Minor - Change of syntax to avoid fatal error in phpunit tests