diff --git a/src/FFMpeg/Coordinate/AspectRatio.php b/src/FFMpeg/Coordinate/AspectRatio.php index 0f159d7..a3c88a8 100644 --- a/src/FFMpeg/Coordinate/AspectRatio.php +++ b/src/FFMpeg/Coordinate/AspectRatio.php @@ -142,7 +142,7 @@ class AspectRatio * custom ratio need to be used, disable it. * * @param Dimension $dimension - * @param Boolean $forceStandards Whether to force or not standard ratios + * @param bool $forceStandards Whether to force or not standard ratios * * @return AspectRatio * diff --git a/src/FFMpeg/FFProbe/DataMapping/AbstractData.php b/src/FFMpeg/FFProbe/DataMapping/AbstractData.php index ce04e89..083e576 100644 --- a/src/FFMpeg/FFProbe/DataMapping/AbstractData.php +++ b/src/FFMpeg/FFProbe/DataMapping/AbstractData.php @@ -24,7 +24,7 @@ abstract class AbstractData implements \Countable * Returns true if data has property. * * @param string $property - * @return Boolean + * @return bool */ public function has($property) { diff --git a/src/FFMpeg/FFProbe/DataMapping/Stream.php b/src/FFMpeg/FFProbe/DataMapping/Stream.php index 3333453..68c313b 100644 --- a/src/FFMpeg/FFProbe/DataMapping/Stream.php +++ b/src/FFMpeg/FFProbe/DataMapping/Stream.php @@ -20,7 +20,7 @@ class Stream extends AbstractData /** * Returns true if the stream is an audio stream. * - * @return Boolean + * @return bool */ public function isAudio() { @@ -30,7 +30,7 @@ class Stream extends AbstractData /** * Returns true if the stream is a video stream. * - * @return Boolean + * @return bool */ public function isVideo() { diff --git a/src/FFMpeg/FFProbe/OptionsTester.php b/src/FFMpeg/FFProbe/OptionsTester.php index be45a76..a5cc885 100644 --- a/src/FFMpeg/FFProbe/OptionsTester.php +++ b/src/FFMpeg/FFProbe/OptionsTester.php @@ -42,7 +42,7 @@ class OptionsTester implements OptionsTesterInterface $output = $this->retrieveHelpOutput(); - $ret = (Boolean) preg_match('/^'.$name.'/m', $output); + $ret = (bool) preg_match('/^'.$name.'/m', $output); $this->cache->save($id, $ret); diff --git a/src/FFMpeg/FFProbe/OptionsTesterInterface.php b/src/FFMpeg/FFProbe/OptionsTesterInterface.php index ab1f3de..04c4df0 100644 --- a/src/FFMpeg/FFProbe/OptionsTesterInterface.php +++ b/src/FFMpeg/FFProbe/OptionsTesterInterface.php @@ -18,7 +18,7 @@ interface OptionsTesterInterface * * @param string $name * - * @return Boolean + * @return bool */ public function has($name); } diff --git a/src/FFMpeg/Filters/Video/ResizeFilter.php b/src/FFMpeg/Filters/Video/ResizeFilter.php index ab8ee03..f3d90cf 100644 --- a/src/FFMpeg/Filters/Video/ResizeFilter.php +++ b/src/FFMpeg/Filters/Video/ResizeFilter.php @@ -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() { diff --git a/src/FFMpeg/Filters/Video/VideoFilters.php b/src/FFMpeg/Filters/Video/VideoFilters.php index 92eaf60..d633b04 100644 --- a/src/FFMpeg/Filters/Video/VideoFilters.php +++ b/src/FFMpeg/Filters/Video/VideoFilters.php @@ -31,7 +31,7 @@ class VideoFilters extends AudioFilters * * @param Dimension $dimension * @param string $mode - * @param Boolean $forceStandards + * @param bool $forceStandards * * @return VideoFilters */ diff --git a/src/FFMpeg/Format/ProgressListener/AbstractProgressListener.php b/src/FFMpeg/Format/ProgressListener/AbstractProgressListener.php index 26eaf55..f4058f6 100644 --- a/src/FFMpeg/Format/ProgressListener/AbstractProgressListener.php +++ b/src/FFMpeg/Format/ProgressListener/AbstractProgressListener.php @@ -42,7 +42,7 @@ abstract class AbstractProgressListener extends EventEmitter implements Listener /** @var string */ private $pathfile; - /** @var Boolean */ + /** @var bool */ private $initialized = false; /** @var integer */ diff --git a/src/FFMpeg/Format/VideoInterface.php b/src/FFMpeg/Format/VideoInterface.php index 2620456..288f158 100644 --- a/src/FFMpeg/Format/VideoInterface.php +++ b/src/FFMpeg/Format/VideoInterface.php @@ -44,7 +44,7 @@ interface VideoInterface extends AudioInterface * * @see https://wikipedia.org/wiki/Video_compression_picture_types * - * @return Boolean + * @return bool */ public function supportBFrames(); diff --git a/src/FFMpeg/Media/Frame.php b/src/FFMpeg/Media/Frame.php index 21499f9..8f6cffb 100644 --- a/src/FFMpeg/Media/Frame.php +++ b/src/FFMpeg/Media/Frame.php @@ -79,7 +79,7 @@ class Frame extends AbstractMediaType * Uses the `unaccurate method by default.` * * @param string $pathfile - * @param Boolean $accurate + * @param bool $accurate * * @return Frame *