fixed warning

PHP Warning: Invalid argument supplied for foreach() in vendor/kdyby/autowired/src/Kdyby/Autowired/AutowireProperties.php:57