mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 05:34:27 +02:00
Let AddonHelper::getAddonInfo() throw exception on invalid addons
This commit is contained in:
parent
ab3e54f0e1
commit
f1143105d2
8 changed files with 106 additions and 18 deletions
|
@ -61,6 +61,8 @@ interface AddonHelper
|
|||
|
||||
/**
|
||||
* Get the comment block of an addon as value object.
|
||||
*
|
||||
* @throws \Friendica\Core\Addon\Exception\InvalidAddonException if there is an error with the addon file
|
||||
*/
|
||||
public function getAddonInfo(string $addonId): AddonInfo;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue