mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Fix PHPDoc comments project-wide
This commit is contained in:
parent
6077aa5847
commit
3282ce5389
113 changed files with 1703 additions and 795 deletions
|
@ -33,6 +33,7 @@ class StorageManager
|
|||
/**
|
||||
* @brief Return current storage backend class
|
||||
* @return string
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function getBackend()
|
||||
{
|
||||
|
@ -54,7 +55,8 @@ class StorageManager
|
|||
/**
|
||||
* @brief Set current storage backend class
|
||||
*
|
||||
* @param string $class Backend class name
|
||||
* @param string $class Backend class name
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function setBackend($class)
|
||||
{
|
||||
|
@ -74,12 +76,12 @@ class StorageManager
|
|||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief Register a storage backend class
|
||||
*
|
||||
* @param string $name User readable backend name
|
||||
* @param string $class Backend class name
|
||||
* @param string $name User readable backend name
|
||||
* @param string $class Backend class name
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function register($name, $class)
|
||||
{
|
||||
|
@ -93,7 +95,8 @@ class StorageManager
|
|||
/**
|
||||
* @brief Unregister a storage backend class
|
||||
*
|
||||
* @param string $name User readable backend name
|
||||
* @param string $name User readable backend name
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function unregister($name)
|
||||
{
|
||||
|
@ -112,7 +115,8 @@ class StorageManager
|
|||
* @param string $dest Destination storage class name
|
||||
* @param array $tables Tables to look in for resources. Optional, defaults to ['photo', 'attach']
|
||||
*
|
||||
* @retur int Number of moved resources
|
||||
* @throws \Exception
|
||||
* @return int Number of moved resources
|
||||
*/
|
||||
public static function move($dest, $tables = null)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue