phpcr/phpcr-utils — pull request #110 by dantleech (2014-05-19 07:07:34+00:00)
Title: [CND PARSER] Fixed parsing bug

Do not crash if no more tokens after supertype declration..

Currently token peek returns the next token and then we get the type of the token, however if you declare a supertype for a node definition but do not define anything after, `peek` returns null and we get a fatal error when trying to access `null` as an object.