spryker / code-sniffer

Spryker Code Sniffer
https://spryker.com
MIT License
36 stars 11 forks source link

Fix false positive #363

Closed dereuromark closed 1 year ago

dereuromark commented 1 year ago

Resolves

    /**
     * @param list<\Some\Plugin\List> $x
     *
     * @return void
     */
    public function foo(array $x)
    {
    }

not being allowed as valid syntax.

dereuromark commented 1 year ago

You can make the test cases as follow up PR I will merge now to unblock development.