mirror of
https://github.com/flextype/flextype.git
synced 2025-08-11 23:54:06 +02:00
feat(media): update code style for media api #564
This commit is contained in:
@@ -28,6 +28,13 @@ class Media extends Entries
|
||||
{
|
||||
use Macroable;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $options Media options.
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
public function __construct(array $options = [])
|
||||
{
|
||||
parent::__construct($options);
|
||||
@@ -73,7 +80,7 @@ class Media extends Entries
|
||||
}
|
||||
|
||||
/**
|
||||
* Upload media file
|
||||
* Upload media file.
|
||||
*
|
||||
* @param array $file Raw file data (multipart/form-data).
|
||||
* @param string $folder The folder you're targetting.
|
||||
|
Reference in New Issue
Block a user