diff --git a/src/WordPress/Blueprints/Model/DataClass/UnzipStep.php b/src/WordPress/Blueprints/Model/DataClass/UnzipStep.php index a5c67994..80a9ab66 100644 --- a/src/WordPress/Blueprints/Model/DataClass/UnzipStep.php +++ b/src/WordPress/Blueprints/Model/DataClass/UnzipStep.php @@ -10,7 +10,7 @@ class UnzipStep implements StepDefinitionInterface { public Progress $progress; /** @var bool */ - public $continueOnError; + public bool $continueOnError; /** * Step @@ -24,7 +24,9 @@ class UnzipStep implements StepDefinitionInterface { * * @var string|ResourceDefinitionInterface */ - public $zip_file; + + // @TODO: Union types are PHP >= 8.0. Fix needed. + public string|ResourceDefinitionInterface $zip_file; /** * The path to extract the zip file to