@@ -26,7 +26,7 @@ discard block |
||
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 |
||
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 |
||
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 |
@@ -41,8 +41,8 @@ discard block |
||
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 |
||
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 |
||
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 |