Commit 90bf45e4 authored by Thomas Löffler's avatar Thomas Löffler

Change wrong function call

parent 355be669
Pipeline #7627 passed with stages
in 2 minutes and 57 seconds
......@@ -1136,7 +1136,7 @@ class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
}
/**
* @return \T3o\TerFe2\Domain\Model\Relation
* @return \T3o\TerFe2\Domain\Model\Relation|null
*/
public function getTypo3Dependency()
{
......
......@@ -49,7 +49,7 @@ class VersionUtility
public static function doesExtensionSupportTypo3Version(\T3o\TerFe2\Domain\Model\Extension $extension, int $mainVersion): bool
{
foreach ($extension->getVersions() as $version) {
if ($version->hasTypo3Dependency() === false || $version->getReviewState() === \T3o\TerFe2\Domain\Model\Version::VERSION_IS_INSECURE) {
if ($version->getTypo3Dependency() === null || $version->getReviewState() === \T3o\TerFe2\Domain\Model\Version::VERSION_IS_INSECURE) {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment