Commit 5cc39e68 authored by Thomas Löffler's avatar Thomas Löffler

Change wrong function call

parent 905f6ce9
...@@ -1136,7 +1136,7 @@ class Version extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity ...@@ -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() public function getTypo3Dependency()
{ {
......
...@@ -49,7 +49,7 @@ class VersionUtility ...@@ -49,7 +49,7 @@ class VersionUtility
public static function doesExtensionSupportTypo3Version(\T3o\TerFe2\Domain\Model\Extension $extension, int $mainVersion): bool public static function doesExtensionSupportTypo3Version(\T3o\TerFe2\Domain\Model\Extension $extension, int $mainVersion): bool
{ {
foreach ($extension->getVersions() as $version) { 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; 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