<?php
class test extends Memcached {
public function __call( string $function_name, array $parameters ) : mixed {
//
}
}
In this example it suggests adding #[\Override] attribute on the __call, but this does not actually work:
Fatal error: test::__call() has #[\Override] attribute, but no matching parent method exists
It does work fine on other methods like get, delete, etc.
Rector 2.2.14