Address code standards issues

This commit is contained in:
fabrixxm 2018-11-21 15:10:47 +01:00 committed by Hypolite Petovan
parent 12dd7b552f
commit 9317a1c054
6 changed files with 53 additions and 44 deletions

View file

@ -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);
}
}