Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsnuebel committed Jun 11, 2022
1 parent 3b057a8 commit 9965451
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 211 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ public function update($uids, $minimumStability = Updater::STABILITY_STABLE)
continue;
}

// TODO Load Type based on #__updates_site.type
// if type tuf loadFromTuf
$update->loadFromXml($instance->detailsurl, $minimumStability);

// Find and use extra_query from update_site if available
Expand Down
4 changes: 2 additions & 2 deletions libraries/src/TUF/TufValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TufValidation
*
* @var mixed
*/
private mixed $params;
private $params;

/**
* Validating updates with TUF
Expand All @@ -61,7 +61,7 @@ public function __construct(int $extensionId, mixed $params)
{
$this->configureTufOptions($resolver);
}
catch (\Exception)
catch (\Exception $e)
{
}

Expand Down
Loading

0 comments on commit 9965451

Please sign in to comment.