for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Zed\Minubo\Dependency\Facade;
class MinuboToOmsFacadeBridge implements MinuboToOmsFacadeInterface
{
* @var \Spryker\Zed\Oms\Business\OmsFacadeInterface
protected $omsFacade;
* @param \Spryker\Zed\Oms\Business\OmsFacadeInterface $omsFacade
public function __construct($omsFacade)
$this->omsFacade = $omsFacade;
}
* @param string $processName
* @param string $stateName
*
* @return array<string>
public function getStateFlags(string $processName, string $stateName): array
return $this->omsFacade->getStateFlags($processName, $stateName);
Spryker\Zed\Oms\Business...erface::getStateFlags()
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
ignore-deprecated
return /** @scrutinizer ignore-deprecated */ $this->omsFacade->getStateFlags($processName, $stateName);
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.