array representation backward compat for php5
This commit is contained in:
parent
fc5bfc691e
commit
d5fc9ed9db
3 changed files with 3 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ class Waveform extends AbstractMediaType
|
|||
*/
|
||||
protected $colors;
|
||||
|
||||
public function __construct(Audio $audio, FFMpegDriver $driver, FFProbe $ffprobe, $width, $height, $colors = [self::DEFAULT_COLOR])
|
||||
public function __construct(Audio $audio, FFMpegDriver $driver, FFProbe $ffprobe, $width, $height, $colors = array(self::DEFAULT_COLOR))
|
||||
{
|
||||
parent::__construct($audio->getPathfile(), $driver, $ffprobe);
|
||||
$this->audio = $audio;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue