mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Rewrites:
- converted single-line if() block to multi-line and with curly braces - "imported" SPL classes to have unified code style - always initialize your variables ... :-/ - added some empty lines/spaces for better readability Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
3b646644c0
commit
9fa812b35d
8 changed files with 33 additions and 15 deletions
|
@ -6,6 +6,8 @@
|
|||
|
||||
namespace Friendica\Model\Storage;
|
||||
|
||||
use \BadMethodCallException;
|
||||
|
||||
/**
|
||||
* @brief System resource storage class
|
||||
*
|
||||
|
@ -32,12 +34,12 @@ class SystemResource implements IStorage
|
|||
|
||||
public static function put($data, $filename = "")
|
||||
{
|
||||
throw new \BadMethodCallException();
|
||||
throw new BadMethodCallException();
|
||||
}
|
||||
|
||||
public static function delete($filename)
|
||||
{
|
||||
throw new \BadMethodCallException();
|
||||
throw new BadMethodCallException();
|
||||
}
|
||||
|
||||
public static function getOptions()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue