Update ViewRenderer.php

The php extract method takes an associative array, so I was able to pass in the array directly instead of having to iterate against the array.