old php versions <.<

This commit is contained in:
jens1o 2017-11-05 18:45:35 +01:00
commit c393e31803
No known key found for this signature in database
GPG key ID: C7437FC1B445CC49
2 changed files with 6 additions and 6 deletions

View file

@ -57,7 +57,7 @@ class Audio extends AbstractStreamableMedia
* @return Audio
* @throws RuntimeException
*/
public function save(FormatInterface $format, string $outputPathfile)
public function save(FormatInterface $format, $outputPathfile)
{
$listeners = null;
@ -85,7 +85,7 @@ class Audio extends AbstractStreamableMedia
* @return string
* @since 0.11.0
*/
public function getFinalCommand(FormatInterface $format, string $outputPathfile) {
public function getFinalCommand(FormatInterface $format, $outputPathfile) {
return implode(' ', $this->buildCommand($format, $outputPathfile));
}
@ -97,7 +97,7 @@ class Audio extends AbstractStreamableMedia
* @return string[] An array which are the components of the command
* @since 0.11.0
*/
protected function buildCommand(FormatInterface $format, string $outputPathfile) {
protected function buildCommand(FormatInterface $format, $outputPathfile) {
$commands = array('-y', '-i', $this->pathfile);
$filters = clone $this->filters;

View file

@ -67,7 +67,7 @@ class Video extends Audio
* @return Video
* @throws RuntimeException
*/
public function save(FormatInterface $format, string $outputPathfile)
public function save(FormatInterface $format, $outputPathfile)
{
$passes = $this->buildCommand($format, $outputPathfile);
@ -103,7 +103,7 @@ class Video extends Audio
* NOTE: This method is different to the Audio's one, because Video is using passes.
* @inheritDoc
*/
public function getFinalCommand(FormatInterface $format, string $outputPathfile) {
public function getFinalCommand(FormatInterface $format, $outputPathfile) {
$finalCommands = array();
foreach($this->buildCommand($format, $outputPathfile) as $pass => $passCommands) {
@ -121,7 +121,7 @@ class Video extends Audio
* @inheritDoc
* @return string[][]
*/
protected function buildCommand(FormatInterface $format, string $outputPathfile) {
protected function buildCommand(FormatInterface $format, $outputPathfile) {
$commands = array('-y', '-i', $this->pathfile);
$filters = clone $this->filters;