You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class defined in the example implements VersionPurgerAdvisorInterface::isPurgeable, that no more return bool. Now return PurgeableVersionList. Also the parameter was changed , PurgeableVersion to PurgeableVersionList and options is no more present.
here the interface:
/**
* Checks if a version should be purged
*
* @author Samir Boulil <samir.boulil@akeneo.com>
* @copyright 2016 Akeneo SAS (http://www.akeneo.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
interface VersionPurgerAdvisorInterface
{
/**
* Checks if the advisor supports the version
*
* @param PurgeableVersionList $versionList
*
* @return bool
*/
public function supports(PurgeableVersionList $versionList);
/**
* Indicates the versions that needs to be purged
*
* @param PurgeableVersionList $versionList
*
* @return PurgeableVersionList
*/
public function isPurgeable(PurgeableVersionList $versionList): PurgeableVersionList;
}
example need to be updated.
The text was updated successfully, but these errors were encountered:
class defined in the example implements VersionPurgerAdvisorInterface::isPurgeable, that no more return bool. Now return PurgeableVersionList. Also the parameter was changed , PurgeableVersion to PurgeableVersionList and options is no more present.
here the interface:
example need to be updated.
The text was updated successfully, but these errors were encountered: