Completed
Push — master ( 9e9310...e9812b )
by Leo
02:16
created
_config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-define('IMAGEORIENTATIONFIXER_DIR',basename(dirname(__FILE__)));
4 3
\ No newline at end of file
4
+define('IMAGEORIENTATIONFIXER_DIR', basename(dirname(__FILE__)));
5 5
\ No newline at end of file
Please login to merge, or discard this patch.
code/ImageOrientationFixer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 		$imagick = new Imagick($imagePath);
29 29
 		$imagick->setImageOrientation(imagick::ORIENTATION_TOPLEFT);
30 30
 		$deg = 0;
31
-		switch($orientation) {
31
+		switch ($orientation) {
32 32
 			case 3:
33 33
 				$deg = -180;
34 34
 				break;
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 				return false;
62 62
 		}
63 63
 		
64
-		switch($orientation) {
64
+		switch ($orientation) {
65 65
 			case 3:
66 66
 				$image = imagerotate($image, 180, 0);
67 67
 				break;
Please login to merge, or discard this patch.