Skip to content

Commit 6e8985d

Browse files
committed
Updated DocBlock comments
Signed-off-by: Andrew Welch <andrew@nystudio107.com>
1 parent ee7bf4a commit 6e8985d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/controllers/DefaultController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ class DefaultController extends Controller
4545
* from downloading things that are outside of the server root.
4646
*
4747
* @param $url
48+
*
49+
* @throws \yii\base\ExitException
4850
*/
4951
public function actionDownloadFile($url)
5052
{

src/variables/TranscoderVariable.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212

1313
use nystudio107\transcoder\Transcoder;
1414

15-
use Craft;
1615
use craft\helpers\UrlHelper;
1716

1817
/**
@@ -33,6 +32,7 @@ class TranscoderVariable
3332
* @param $videoOptions
3433
*
3534
* @return string
35+
* @throws \yii\base\Exception
3636
*/
3737
public function getVideoUrl($filePath, $videoOptions): string
3838
{
@@ -48,6 +48,7 @@ public function getVideoUrl($filePath, $videoOptions): string
4848
* @param $thumbnailOptions
4949
*
5050
* @return string
51+
* @throws \yii\base\Exception
5152
*/
5253
public function getVideoThumbnailUrl($filePath, $thumbnailOptions): string
5354
{
@@ -64,6 +65,7 @@ public function getVideoThumbnailUrl($filePath, $thumbnailOptions): string
6465
* @param $audioOptions
6566
*
6667
* @return string
68+
* @throws \yii\base\Exception
6769
*/
6870
public function getAudioUrl($filePath, $audioOptions): string
6971
{
@@ -79,6 +81,7 @@ public function getAudioUrl($filePath, $audioOptions): string
7981
* @param bool $summary
8082
*
8183
* @return array
84+
* @throws \yii\base\Exception
8285
*/
8386
public function getFileInfo($filePath, $summary = false): array
8487
{
@@ -94,6 +97,7 @@ public function getFileInfo($filePath, $summary = false): array
9497
* @param $videoOptions
9598
*
9699
* @return string
100+
* @throws \yii\base\Exception
97101
*/
98102
public function getVideoProgressUrl($filePath, $videoOptions): string
99103
{
@@ -116,6 +120,7 @@ public function getVideoProgressUrl($filePath, $videoOptions): string
116120
* @param $audioOptions
117121
*
118122
* @return string
123+
* @throws \yii\base\Exception
119124
*/
120125
public function getAudioProgressUrl($filePath, $audioOptions): string
121126
{

0 commit comments

Comments
 (0)