mirror of
https://github.com/friendica/friendica
synced 2025-04-28 21:44:22 +02:00
Address code standards issues
This commit is contained in:
parent
12dd7b552f
commit
9317a1c054
6 changed files with 53 additions and 44 deletions
|
@ -19,12 +19,12 @@ interface IStorage
|
|||
public static function get($ref);
|
||||
|
||||
/**
|
||||
* @brief Put data in backend as $ref. If $ref is null a new reference is created.
|
||||
* @brief Put data in backend as $ref. If $ref is not defiend a new reference is created.
|
||||
* @param string $data Data to save
|
||||
* @param string $ref Data referece. Optional.
|
||||
* @return string Saved data referece
|
||||
*/
|
||||
public static function put($data, $ref = null);
|
||||
public static function put($data, $ref = "");
|
||||
|
||||
/**
|
||||
* @brief Remove data from backend
|
||||
|
@ -32,4 +32,4 @@ interface IStorage
|
|||
* @return boolean True on success
|
||||
*/
|
||||
public static function delete($ref);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue