Fehler beim Update

Hallo, kurz vor Beendigung des Updates auf SW 5.5.x kommt folgender Fehler:

Declaration of SizeSplitter\SizeSplitter::install() should be compatible with Shopware\Components\Plugin::install(Shopware\Components\Plugin\Context\InstallContext $context)

Kann mir jemand sagen, was genau das Problem ist?

Im Plugin haben wir folgendes stehen:

namespace SizeSplitter;
 
use Shopware\Components\Plugin;
use Shopware\Components\Plugin\Context\InstallContext;
use Shopware\Components\Plugin\Context\UninstallContext;

class SizeSplitter extends Plugin {

	//Funktion zum Anhaengen an den Cronjob
	public static function getSubscribedEvents()
    {
        return [
            'Shopware_CronJob_SizeSplitter' => 'splitting'
        ];
    }
	
	//Funktion zur Installation, welche den Cronjob startet
	public function install() {
		
        $this->registerCronJobs();

        return array('success' => true, 'invalidateCache' => array('frontend'));
    }

 

Crying