This commit is contained in:
Pierre Rudloff 2020-10-17 22:47:16 +02:00
parent 3280e60871
commit 69d09b780e
5 changed files with 50 additions and 31 deletions

View file

@ -11,7 +11,7 @@ class AvconvException extends AlltubeLibraryException
* AvconvException constructor.
* @param string $path Path to avconv or ffmpeg.
*/
public function __construct($path)
public function __construct(string $path)
{
parent::__construct("Can't find avconv or ffmpeg at " . $path . '.');
}

View file

@ -11,7 +11,7 @@ class InvalidProtocolConversionException extends AlltubeLibraryException
* InvalidProtocolConversionException constructor.
* @param string $protocol Protocol
*/
public function __construct($protocol)
public function __construct(string $protocol)
{
parent::__construct($protocol . ' protocol is not supported in conversions.');
}

View file

@ -12,7 +12,7 @@ class InvalidTimeException extends AlltubeLibraryException
* InvalidTimeException constructor.
* @param string $time Invalid time
*/
public function __construct($time)
public function __construct(string $time)
{
parent::__construct('Invalid time: ' . $time);
}