<?php if (empty($this->vars())): ?>
No object model passed
<?php else:
	$objKey = current($this->vars())->helper->getObjectKey();
    echo 'This is an iteration with objectKey: ' . $objKey;
endif;


<?php
	$vars = $this->vars();
	if (empty($vars)) :
?>
No object model passed
<?php else:
	$objKey = current($this->vars())->helper->getObjectKey();
    echo 'This is an iteration with objectKey: ' . $objKey;
endif;


Fix testNestedCallsShouldNotOverrideObjectKey for PHP < 5.5
Fix testNestedCallsShouldNotOverrideObjectKey for PHP < 5.5
