/opt/cpanel/ea-wappspector/vendor/rector/rector/src/ValueObject
Edit: /opt/cpanel/ea-wappspector/vendor/rector/rector/src/ValueObject/ProcessResult.php (1318B)
systemErrors = $systemErrors;
$this->fileDiffs = $fileDiffs;
Assert::allIsInstanceOf($systemErrors, SystemError::class);
Assert::allIsInstanceOf($fileDiffs, FileDiff::class);
}
/**
* @return SystemError[]
*/
public function getSystemErrors() : array
{
return $this->systemErrors;
}
/**
* @return FileDiff[]
*/
public function getFileDiffs() : array
{
return $this->fileDiffs;
}
/**
* @param SystemError[] $systemErrors
*/
public function addSystemErrors(array $systemErrors) : void
{
Assert::allIsInstanceOf($systemErrors, SystemError::class);
$this->systemErrors = \array_merge($this->systemErrors, $systemErrors);
}
}