Skip to content

Commit

Permalink
[TASK] Fixed PHP Version Error
Browse files Browse the repository at this point in the history
  • Loading branch information
pradeepnitsan committed Dec 17, 2024
1 parent ed11362 commit f0313ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Controller/NsExtCompatibilityController.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ public function listAction()
}
}
} else {
$this->remoteRegistry = GeneralUtility::makeInstance(RemoteRegistry::class);
$remoteRegistry = GeneralUtility::makeInstance(RemoteRegistry::class);
$lastUpdate = null;
if($this->remoteRegistry) {
foreach ($this->remoteRegistry->getListableRemotes() as $remote) {
if($remoteRegistry) {
foreach ($remoteRegistry->getListableRemotes() as $remote) {
if ($lastUpdate === null || $lastUpdate < $remote->getLastUpdate()) {
$lastUpdate = $remote->getLastUpdate();
}
Expand Down

0 comments on commit f0313ca

Please sign in to comment.