Completed
Push — master ( e8948e...3aa4c2 )
by Leo
02:06
created
code/ImageOrientationFixer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,17 +20,17 @@
 block discarded – undo
20 20
 	private function get_orientation($path) {
21 21
 		if (!file_exists($path)) { return false; }
22 22
 		try {
23
-		    $exif_data = @exif_read_data($path);
24
-		    $orientation = !empty($exif_data['Orientation']) ? $exif_data['Orientation'] : null;
23
+			$exif_data = @exif_read_data($path);
24
+			$orientation = !empty($exif_data['Orientation']) ? $exif_data['Orientation'] : null;
25 25
 			/**
26 26
 			 * this image will help you understand the orientation and the difference between encoded and printed
27 27
 			 * http://www.kendawson.ca/wp-content/uploads/orient_flag2.gif
28 28
 			 */
29 29
 			return $orientation == 1 ? false : $orientation;
30 30
 		} catch (Exception $e) {
31
-		    return false;
31
+			return false;
32 32
 		} finally {
33
-		    return false;
33
+			return false;
34 34
 		}
35 35
 
36 36
 	}
Please login to merge, or discard this patch.