Stronger typying now that we target PHP 7.4
This commit is contained in:
parent
b23ce88be8
commit
71647158d3
5 changed files with 31 additions and 29 deletions
|
@ -30,21 +30,21 @@ abstract class BaseController
|
|||
*
|
||||
* @var Video
|
||||
*/
|
||||
protected $video;
|
||||
protected Video $video;
|
||||
|
||||
/**
|
||||
* Default youtube-dl format.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $defaultFormat = 'best/bestvideo';
|
||||
protected string $defaultFormat = 'best/bestvideo';
|
||||
|
||||
/**
|
||||
* Slim dependency container.
|
||||
*
|
||||
* @var ContainerInterface
|
||||
*/
|
||||
protected $container;
|
||||
protected ContainerInterface $container;
|
||||
|
||||
/**
|
||||
* Config instance.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue