The interface Magento\Framework\Option\ArrayInterface has been deprecated: 102.0.1 please use \Magento\Framework\Data\OptionSourceInterface instead.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
16
class Environment implements /** @scrutinizer ignore-deprecated */ ArrayInterface
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be
removed and what other interface to use instead.
Loading history...
17
{
18
/**
19
* Returns Options.
20
*
21
* @return array
22
*/
23
public function toOptionArray(): array
24
{
25
return [
26
'production' => __('Production'),
27
'homolog' => __('Homolog'),
28
'sandbox' => __('Sandbox - Environment for tests'),
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.