Commit f84f22d9 authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen

Merge branch 'bugfix/change-wrong-function-call' into 'develop'

Change wrong function call

See merge request !434
parents 355be669 90bf45e4
Pipeline #7631 passed with stages
in 2 minutes and 45 seconds
...@@ -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