yeah, I noticed that too :) Will be fixed in https://github.com/doctrine/phpcr-odm/pull/326

Lukas Kahwe Smith <notifications@github.com> wrote:
>> +     *
>> +     * @param string $path
>> +     * @param string $selectorName
>> +     *
>> +     * @factoryMethod
>> +     * @return ConstraintSame
>> +     */
>> +    public function same($path, $selectorName)
>> +    {
>> +        return $this->addChild(new ConstraintSame($this,
>$selectorName, $path));
>> +    }
>> +
>> +    /**
>> +     * Descendant document constraint:
>> +     *
>> +     *   $qb->where()->descendantDocument('/ancestor/path', 'sel_1')
>
>noticed that when you renamed the methods you missed the comments
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/doctrine/phpcr-odm/pull/318/files#r6367502

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.