Fix boolean types (#779)

Changed `Boolean` to `bool` to avoid Psalm being confused with a potential class.
Thanks @digilist
This commit is contained in:
Markus Fasselt 2020-12-23 11:14:24 +01:00 committed by GitHub
commit 7abb6d36cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 12 deletions

View file

@ -31,7 +31,7 @@ class ResizeFilter implements VideoFilterInterface
private $dimension;
/** @var string */
private $mode;
/** @var Boolean */
/** @var bool */
private $forceStandards;
/** @var integer */
private $priority;
@ -69,7 +69,7 @@ class ResizeFilter implements VideoFilterInterface
}
/**
* @return Boolean
* @return bool
*/
public function areStandardsForced()
{

View file

@ -31,7 +31,7 @@ class VideoFilters extends AudioFilters
*
* @param Dimension $dimension
* @param string $mode
* @param Boolean $forceStandards
* @param bool $forceStandards
*
* @return VideoFilters
*/