Passed
Push — master ( b91050...6fb96f )
by Jens
02:59
created
src/images/methods/Resize.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
          */
27 27
         public function SetWidth($width)
28 28
         {
29
-            $this->_width = (int)$width;
29
+            $this->_width = (int) $width;
30 30
             return $this;
31 31
         }
32 32
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
          */
39 39
         public function SetHeight($height)
40 40
         {
41
-            $this->_height = (int)$height;
41
+            $this->_height = (int) $height;
42 42
             return $this;
43 43
         }
44 44
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
          */
52 52
         public function SetPreserveAspectRatio($bool)
53 53
         {
54
-            $this->_preserveAspectRatio = (bool)$bool;
54
+            $this->_preserveAspectRatio = (bool) $bool;
55 55
             return $this;
56 56
         }
57 57
 
Please login to merge, or discard this patch.
src/images/methods/Crop.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
          */
42 42
         public function SetWidth($width)
43 43
         {
44
-            $this->_width = (int)$width;
45
-            $this->_destWidth = (int)$width;
44
+            $this->_width = (int) $width;
45
+            $this->_destWidth = (int) $width;
46 46
             return $this;
47 47
         }
48 48
 
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
          */
55 55
         public function SetHeight($height)
56 56
         {
57
-            $this->_height = (int)$height;
58
-            $this->_destHeight = (int)$height;
57
+            $this->_height = (int) $height;
58
+            $this->_destHeight = (int) $height;
59 59
             return $this;
60 60
         }
61 61
 
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
          */
96 96
         public function FillBackground($r, $g, $b)
97 97
         {
98
-            $this->_backgroundColor = array((int)$r, (int)$g, (int)$b);
98
+            $this->_backgroundColor = array((int) $r, (int) $g, (int) $b);
99 99
             return $this;
100 100
         }
101 101
 
Please login to merge, or discard this patch.