Completed
Push — master ( 676136...b5d1cf )
by Mathieu
02:39
created
src/Charcoal/Image/Imagemagick/Effect/ImagemagickThresholdEffect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param array $data The effect data, if available.
14
-     * @return ImagickThresholdEffect Chainable
14
+     * @return ImagemagickThresholdEffect Chainable
15 15
      */
16 16
     public function process(array $data = null)
17 17
     {
Please login to merge, or discard this patch.
src/Charcoal/Image/Imagemagick/Effect/ImagemagickTintEffect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param array $data The effect data, if available.
14
-     * @return ImagickTintEffect Chainable
14
+     * @return ImagemagickTintEffect Chainable
15 15
      */
16 16
     public function process(array $data = null)
17 17
     {
Please login to merge, or discard this patch.
src/Charcoal/Image/Imagick/Effect/ImagickMirrorEffect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     /**
13 13
      * @param array $data The effect data, if available.
14
-     * @return ImagickBlurEffect Chainable
14
+     * @return ImagickMirrorEffect Chainable
15 15
      */
16 16
     public function process(array $data = null)
17 17
     {
Please login to merge, or discard this patch.
src/Charcoal/Image/Effect/AbstractBlurEffect.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@
 block discarded – undo
48 48
                 'Radius must be a float (greater than 0)'
49 49
             );
50 50
         }
51
-         $this->radius = (float)$radius;
52
-         return $this;
51
+            $this->radius = (float)$radius;
52
+            return $this;
53 53
     }
54 54
 
55 55
     /**
Please login to merge, or discard this patch.
src/Charcoal/Image/Effect/AbstractSharpenEffect.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
                 'Radius must be a float (greater than 0)'
58 58
             );
59 59
         }
60
-         $this->radius = (float)$radius;
61
-         return $this;
60
+            $this->radius = (float)$radius;
61
+            return $this;
62 62
     }
63 63
 
64 64
     /**
@@ -105,8 +105,8 @@  discard block
 block discarded – undo
105 105
                 'Threshold must be a float (greater than 0)'
106 106
             );
107 107
         }
108
-         $this->amount = (float)$amount;
109
-         return $this;
108
+            $this->amount = (float)$amount;
109
+            return $this;
110 110
     }
111 111
 
112 112
     /**
@@ -129,8 +129,8 @@  discard block
 block discarded – undo
129 129
                 'Threshold must be a float (greater than 0)'
130 130
             );
131 131
         }
132
-         $this->threshold = (float)$threshold;
133
-         return $this;
132
+            $this->threshold = (float)$threshold;
133
+            return $this;
134 134
     }
135 135
 
136 136
     /**
Please login to merge, or discard this patch.
src/Charcoal/Image/Effect/AbstractThresholdEffect.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@
 block discarded – undo
29 29
                 'Threshold must be a float between 0 and 1.'
30 30
             );
31 31
         }
32
-         $this->threshold = (float)$threshold;
33
-         return $this;
32
+            $this->threshold = (float)$threshold;
33
+            return $this;
34 34
     }
35 35
 
36 36
     /**
Please login to merge, or discard this patch.
src/Charcoal/Image/Imagick/Effect/ImagickRevertEffect.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
  */
10 10
 class ImagickRevertEffect extends AbstractRevertEffect
11 11
 {
12
-     /**
13
-      * @param array $data The effect data, if available.
14
-      * @return ImagickRevertEffect Chainable
15
-      */
12
+        /**
13
+         * @param array $data The effect data, if available.
14
+         * @return ImagickRevertEffect Chainable
15
+         */
16 16
     public function process(array $data = null)
17 17
     {
18 18
         if ($data !== null) {
Please login to merge, or discard this patch.
src/Charcoal/Image/Effect/LayerEffectTrait.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param float $opacity The mask opacity.
40 40
      * @throws InvalidArgumentException If the mask opacity is not a numeric value or not between 0.0 and 1.0.
41
-     * @return AbstractMaskEffect Chainable
41
+     * @return LayerEffectTrait Chainable
42 42
      */
43 43
     public function setOpacity($opacity)
44 44
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * @param string $gravity The mask gravity.
64 64
      * @throws InvalidArgumentException If the argument is not a valid gravity name.
65
-     * @return AbstractMaskEffect Chainable
65
+     * @return LayerEffectTrait Chainable
66 66
      */
67 67
     public function setGravity($gravity)
68 68
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * @param integer $x The mask X position.
88 88
      * @throws InvalidArgumentException If the position is not a numeric value.
89
-     * @return AbstractMaskEffect Chainable
89
+     * @return LayerEffectTrait Chainable
90 90
      */
91 91
     public function setX($x)
92 92
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      * @param integer $y The Y position.
112 112
      * @throws InvalidArgumentException If the position is not a numeric value.
113
-     * @return AbstractMaskEffect Chainable
113
+     * @return LayerEffectTrait Chainable
114 114
      */
115 115
     public function setY($y)
116 116
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
     */
56 56
     public function set_opacity($opacity)
57 57
     {
58
-        if (!is_numeric($opacity) || ($opacity < 0) || ( $opacity > 1)) {
58
+        if (!is_numeric($opacity) || ($opacity < 0) || ($opacity > 1)) {
59 59
             throw new InvalidArgumentException(
60 60
                 'Opacity must be a float between 0.0 and 1.0'
61 61
             );
Please login to merge, or discard this patch.