Hi,

I think you have an issue when you merge the methods for a class that extends an abstract class.
For your information, I have multiple classes that extent of this parent class.




Thank you for your help.

Regards,

    I use @extends and generic feature:

       /**
         * @extends AbstractCollection<ServiceInterface>
         */
    	class Services extends AbstractCollection
    	{
    	}
    	
    	/**
    	 * @property-read \PhpCliShell\Application\Firewall\Definition\ObjectDef $definition
    	 * @property-read int $length
    	 * 
             * @template O of AbstractApi
    	 * @implements CollectionInterface<O>
             */
    	abstract class AbstractCollection implements
                CollectionInterface,
                ArrayAccess,
                IteratorAggregate,
                Countable,
                Stringable
    	{
    	    /**
                   * @var \PhpCliShell\Application\Firewall\Core\Api\AbstractApi[]|O[]
                   */
                  protected array $_store = [];
    	}

      Thank you for the test case, and the details!

      Yes, we validate against each method we find - causing some issues including this one.

      Will be fixed!

        18 days later
        a month later
        13 days later

        Thank you, it's on the list :) but I understand it is an important one.

          Write a Reply...