/** * {@inheritdoc} */ public function __construct($type, array $colorStop) { parent::__construct($type, $colorStop); }
/** * Implements __construct(). * * @param array|\ChapterThree\AppleNewsAPI\Document\Styles\Fills\Gradients\ColorStop $colorStops * URL. */ public function __construct(array $colorStops) { parent::__construct('linear_gradient', $colorStops); }