Skip to content

required argument directoryList in parent::__construct call

I’m getting this error but I don’t really understand it.. as i’m looking through the file I believe the error is complaining about this bit of code. Is it missing the path to a directory or something?

  /**
 * CompressHandler constructor.
 * @param Processor $processor
 * @param Archive $archive
 * @param TimezoneInterface $timezone
 */
public function __construct(
    Processor $processor,
    Archive $archive,
    TimezoneInterface $timezone
) {
    parent::__construct(
        $processor,
        $archive,
        $timezone
    );
    $this->processor = $processor;
    $this->archive = $archive;
    $this->timeZone = $timezone;
}