jaz303 / phake

A rake/make clone for PHP 5.3
365 stars 27 forks source link

Return null from Application::offsetGet if argument doesn't exist #53

Closed cspray closed 10 years ago

cspray commented 10 years ago

This patch prevents an error from being triggered if there's an attempt to access an argument that doesn't exist. This helps calling code to not require isset checks every time an argument is accessed.

jaz303 commented 10 years ago

Thank your this, makes sense.