Code standards
This commit is contained in:
parent
ea0cd6c919
commit
cbb5124d59
|
@ -168,7 +168,7 @@ class Photo extends BaseObject
|
|||
$fields = self::getFields();
|
||||
$values = array_fill(0, count($fields), "");
|
||||
$photo = array_combine($fields, $values);
|
||||
$photo["backend-class"] = "\Friendica\Model\Storage\SystemResource";
|
||||
$photo["backend-class"] = \Friendica\Model\Storage\SystemResource::class;
|
||||
$photo["backend-ref"] = $filename;
|
||||
$photo["type"] = $mimetype;
|
||||
$photo["cacheable"] = false;
|
||||
|
|
|
@ -19,7 +19,7 @@ interface IStorage
|
|||
public static function get($ref);
|
||||
|
||||
/**
|
||||
* @brief Put data in backend as $ref. If $ref is not defiend a new reference is created.
|
||||
* @brief Put data in backend as $ref. If $ref is not defined a new reference is created.
|
||||
* @param string $data Data to save
|
||||
* @param string $ref Data referece. Optional.
|
||||
* @return string Saved data referece
|
||||
|
|
Loading…
Reference in a new issue