Passed
Push — master ( cdb640...c95d30 )
by Louis-Michel
02:26
created
src/functions.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 
14 14
 function getimagesize($path)
15 15
 {
16
-    $image = Image\Factory::create($path);
16
+	$image = Image\Factory::create($path);
17 17
 
18
-    if (is_null($image)) {
19
-        return false;
20
-    }
18
+	if (is_null($image)) {
19
+		return false;
20
+	}
21 21
 
22
-    return $image->getSize();    
22
+	return $image->getSize();    
23 23
 }
24 24
\ No newline at end of file
Please login to merge, or discard this patch.
src/FastImageSize.php 1 patch
Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -12,18 +12,18 @@
 block discarded – undo
12 12
 
13 13
 class FastImageSize
14 14
 {
15
-    public function getImageSize($file, $type = '')
16
-    {
17
-        $size = getimagesize($file);
15
+	public function getImageSize($file, $type = '')
16
+	{
17
+		$size = getimagesize($file);
18 18
 
19
-        if (empty($size)) {
20
-            return false;
21
-        }
19
+		if (empty($size)) {
20
+			return false;
21
+		}
22 22
 
23
-        return array(
24
-            'width' => $size[0],
25
-            'height' => $size[1],
26
-            'type' => $size[2],
27
-        );
28
-    }
23
+		return array(
24
+			'width' => $size[0],
25
+			'height' => $size[1],
26
+			'type' => $size[2],
27
+		);
28
+	}
29 29
 }
Please login to merge, or discard this patch.