diff --git a/src/FFMpeg/Format/Dimension.php b/src/FFMpeg/Format/Dimension.php index 625bee1..605d6ef 100644 --- a/src/FFMpeg/Format/Dimension.php +++ b/src/FFMpeg/Format/Dimension.php @@ -33,7 +33,7 @@ class Dimension public function __construct($width, $height) { if ($width <= 0 || $height <= 0) { - throw InvalidArgumentException('Width and height should be positive integer'); + throw new InvalidArgumentException('Width and height should be positive integer'); } $this->width = (int) $width;