Factory - php 5.4 array syntax fixed