phpspec/phpspec — pull request #102 by iteman (2012-09-27 05:16:37+00:00)
Title: Fixing "Undefined offset" error in ReflectionMethod::isEmpty()

Since the path element is not always the second element of the array, an error **Undefined offset: 2** will be raised in the ReflectionMethod::isEmpty() method.