@@ -130,7 +130,7 @@ |
||
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | 132 | * |
| 133 | - * @param $vendor |
|
| 133 | + * @param string $vendor |
|
| 134 | 134 | * @param $credentials |
| 135 | 135 | */ |
| 136 | 136 | public function setAccount($vendor, $credentials) |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | return null; |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | - $categoryVendors= self::$categories[$category]; |
|
| 35 | + $categoryVendors = self::$categories[$category]; |
|
| 36 | 36 | |
| 37 | 37 | if (isset($categoryVendors[$vendor]) and $id = $categoryVendors[$vendor]) { |
| 38 | 38 | return $id; |
@@ -18,9 +18,9 @@ |
||
| 18 | 18 | |
| 19 | 19 | // Create an Asset |
| 20 | 20 | $asset = AssetFactory::build( |
| 21 | - "$root/tests/video.mp4", // path to file of a Flysystem\File object |
|
| 22 | - 'My Video', // optional title |
|
| 23 | - 'This is an awesome video', // optional description |
|
| 21 | + "$root/tests/video.mp4", // path to file of a Flysystem\File object |
|
| 22 | + 'My Video', // optional title |
|
| 23 | + 'This is an awesome video', // optional description |
|
| 24 | 24 | ['test', 'asset-distributor'] // optional array of tags |
| 25 | 25 | ); |
| 26 | 26 | $asset->setVisibility('private'); |