| Total Complexity | 3 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | abstract class AbstractIntegration extends IDeal_AbstractIntegration { |
||
| 18 | public function get_config_factory_class() { |
||
| 19 | return __NAMESPACE__ . '\ConfigFactory'; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function get_settings_class() { |
||
| 26 | ); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get required settings for this integration. |
||
| 31 | * |
||
| 32 | * @see https://github.com/wp-premium/gravityforms/blob/1.9.16/includes/fields/class-gf-field-multiselect.php#L21-L42 |
||
| 33 | * @since 1.1.3 |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function get_settings() { |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: