old php versions <.<
This commit is contained in:
parent
c43632faa8
commit
c393e31803
2 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue