1
0
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:
Awilum
2021-08-06 21:27:20 +03:00
parent 3cd9cfb544
commit 1944a619f3

View File

@@ -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.