Added a missing @throws doc comment.
Isset checks with the php templates now treat set values with the value null, as not set. Like it should. Even though its stupid. But thats the way isset works.