Extends can only be used on the first parameter Error
You used the Extends keyword more than once and/or on a parameter other than the first parameter.
Example
Should be rewritten as:
See Also
Extends keyword.