Passed
Push — develop ( 8a957c...96e1dd )
by Jens
02:53
created
src/images/methods/Watermark.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
          */
38 38
         public function SetTransparency($transparency)
39 39
         {
40
-            $this->_transparency = (int)$transparency;
40
+            $this->_transparency = (int) $transparency;
41 41
             return $this;
42 42
         }
43 43
 
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
          */
65 65
         protected function calculateX($imageResource)
66 66
         {
67
-            if ((int)$this->_x === $this->_x) {
67
+            if ((int) $this->_x === $this->_x) {
68 68
                 return $this->_x;
69 69
             }
70 70
 
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             } elseif ($x == 'right') {
81 81
                 $x = $imageWidth - $watermarkWidth;
82 82
             }
83
-            return (int)$x;
83
+            return (int) $x;
84 84
         }
85 85
 
86 86
         /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
          */
93 93
         public function calculateY($imageResource)
94 94
         {
95
-            if ((int)$this->_y === $this->_y) {
95
+            if ((int) $this->_y === $this->_y) {
96 96
                 return $this->_y;
97 97
             }
98 98
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
             } elseif ($y == 'bottom') {
109 109
                 $y = $imageHeight - $watermarkHeight;
110 110
             }
111
-            return (int)$y;
111
+            return (int) $y;
112 112
         }
113 113
 
114 114
         /**
Please login to merge, or discard this patch.