1 | <?php |
||
22 | abstract class Extension |
||
23 | { |
||
24 | use InstanceConfigTrait; |
||
25 | |||
26 | protected $_defaultConfig = []; |
||
27 | |||
28 | /** |
||
29 | * Extension constructor. |
||
30 | * |
||
31 | * @param ExtensionRegistry $registry An ExtensionRegistry instance. |
||
32 | * @param array $config Configuration. |
||
33 | */ |
||
34 | public function __construct(ExtensionRegistry $registry, array $config = []) |
||
38 | } |
||
39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.