Skip to content

Commit

Permalink
Fix phpdocs (#3440)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Mar 8, 2020
1 parent 5de2d7f commit d414cf6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions redaxo/src/core/lib/packages/addons/interface.php
Expand Up @@ -31,27 +31,31 @@ public function pluginExists($plugin);
* Returns the registered plugins.
*
* @return rex_plugin[]
* @psalm-return array<string, rex_plugin>
*/
public function getRegisteredPlugins();

/**
* Returns the installed plugins.
*
* @return rex_plugin[]
* @psalm-return array<string, rex_plugin>
*/
public function getInstalledPlugins();

/**
* Returns the available plugins.
*
* @return rex_plugin[]
* @psalm-return array<string, rex_plugin>
*/
public function getAvailablePlugins();

/**
* Returns the system plugins.
*
* @return rex_plugin[]
* @psalm-return array<string, rex_plugin>
*/
public function getSystemPlugins();
}
4 changes: 4 additions & 0 deletions redaxo/src/core/lib/packages/plugins/plugin.php
Expand Up @@ -183,6 +183,7 @@ public function i18n($key, ...$replacements)
* @param string $addon Addon name
*
* @return self[]
* @psalm-return array<string, rex_plugin>
*/
public static function getRegisteredPlugins($addon)
{
Expand All @@ -195,6 +196,7 @@ public static function getRegisteredPlugins($addon)
* @param string $addon Addon name
*
* @return self[]
* @psalm-return array<string, rex_plugin>
*/
public static function getInstalledPlugins($addon)
{
Expand All @@ -207,6 +209,7 @@ public static function getInstalledPlugins($addon)
* @param string $addon Addon name
*
* @return self[]
* @psalm-return array<string, rex_plugin>
*/
public static function getAvailablePlugins($addon)
{
Expand All @@ -219,6 +222,7 @@ public static function getAvailablePlugins($addon)
* @param string $addon Addon name
*
* @return self[]
* @psalm-return array<string, rex_plugin>
*/
public static function getSystemPlugins($addon)
{
Expand Down

0 comments on commit d414cf6

Please sign in to comment.