Page MenuHomePhabricator

D518.id.diff
No OneTemporary

D518.id.diff

diff --git a/io/media/FFMPEGManipulator.php b/io/media/FFMPEGManipulator.php
--- a/io/media/FFMPEGManipulator.php
+++ b/io/media/FFMPEGManipulator.php
@@ -1,5 +1,7 @@
<?php namespace spitfire\io\media;
+use spitfire\exceptions\PrivateException;
+
/*
* The MIT License
*
@@ -72,6 +74,7 @@
public function quality($target = MediaManipulatorInterface::QUALITY_VERYHIGH): MediaManipulatorInterface {
//Ignore this for now
+ return $this;
}
public function scale($target, $side = MediaManipulatorInterface::WIDTH): MediaManipulatorInterface {
diff --git a/io/media/GDManipulator.php b/io/media/GDManipulator.php
--- a/io/media/GDManipulator.php
+++ b/io/media/GDManipulator.php
@@ -124,6 +124,7 @@
public function quality($target = MediaManipulatorInterface::QUALITY_VERYHIGH): MediaManipulatorInterface {
//TODO: Implement
+ return $this;
}
public function at($x, $y) {
diff --git a/io/media/ImagickManipulator.php b/io/media/ImagickManipulator.php
--- a/io/media/ImagickManipulator.php
+++ b/io/media/ImagickManipulator.php
@@ -74,6 +74,7 @@
public function quality($target = MediaManipulatorInterface::QUALITY_VERYHIGH): MediaManipulatorInterface {
//TODO Implement
+ return $this;
}
public function scale($target, $side = MediaManipulatorInterface::WIDTH): MediaManipulatorInterface {

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 14, 1:27 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5487
Default Alt Text
D518.id.diff (1 KB)

Event Timeline