Completed
Push — master ( b8b745...32257f )
by
unknown
08:12
created
src/Charcoal/Image/Effect/AbstractResizeEffect.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      *
107 107
      * @param  mixed $size The size.
108 108
      * @throws InvalidArgumentException If the size argument is not valid.
109
-     * @return Rotate Chainable
109
+     * @return AbstractResizeEffect Chainable
110 110
      */
111 111
     public function setSize($size)
112 112
     {
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
     /**
135 135
      * @param integer $width The target resize width.
136 136
      * @throws InvalidArgumentException If the width argument is not numeric or lower than 0.
137
-     * @return Rotate Chainable
137
+     * @return AbstractResizeEffect Chainable
138 138
      */
139 139
     public function setWidth($width)
140 140
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @return float
151
+     * @return integer
152 152
      */
153 153
     public function width()
154 154
     {
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
     /**
159 159
      * @param integer $height The target resize height.
160 160
      * @throws InvalidArgumentException If the height argument is not numeric or lower than 0.
161
-     * @return Rotate Chainable
161
+     * @return AbstractResizeEffect Chainable
162 162
      */
163 163
     public function setHeight($height)
164 164
     {
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     }
173 173
 
174 174
     /**
175
-     * @return float
175
+     * @return integer
176 176
      */
177 177
     public function height()
178 178
     {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     /**
183 183
      * @param integer $minWidth The resize minimal width.
184 184
      * @throws InvalidArgumentException If the argument is not numeric or lower than 0.
185
-     * @return Rotate Chainable
185
+     * @return AbstractResizeEffect Chainable
186 186
      */
187 187
     public function setMinWidth($minWidth)
188 188
     {
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-     * @return float
199
+     * @return integer
200 200
      */
201 201
     public function minWidth()
202 202
     {
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
     /**
207 207
      * @param integer $minHeight The resize minimal height.
208 208
      * @throws InvalidArgumentException If the argument is not numeric or lower than 0.
209
-     * @return Rotate Chainable
209
+     * @return AbstractResizeEffect Chainable
210 210
      */
211 211
     public function setMinHeight($minHeight)
212 212
     {
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
     }
221 221
 
222 222
     /**
223
-     * @return float
223
+     * @return integer
224 224
      */
225 225
     public function minHeight()
226 226
     {
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
     /**
231 231
      * @param integer $maxWidth The resize max width.
232 232
      * @throws InvalidArgumentException If the argument is not numeric or lower than 0.
233
-     * @return Rotate Chainable
233
+     * @return AbstractResizeEffect Chainable
234 234
      */
235 235
     public function setMaxWidth($maxWidth)
236 236
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
     }
245 245
 
246 246
     /**
247
-     * @return float
247
+     * @return integer
248 248
      */
249 249
     public function maxWidth()
250 250
     {
@@ -254,7 +254,7 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * @param integer $maxHeight The resize max height.
256 256
      * @throws InvalidArgumentException If the argument is not numeric or lower than 0.
257
-     * @return Rotate Chainable
257
+     * @return AbstractResizeEffect Chainable
258 258
      */
259 259
     public function setMaxHeight($maxHeight)
260 260
     {
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
     }
269 269
 
270 270
     /**
271
-     * @return float
271
+     * @return integer
272 272
      */
273 273
     public function maxHeight()
274 274
     {
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
     /**
279 279
      * @param string $gravity The resize gravity.
280 280
      * @throws InvalidArgumentException If the argument is not a valid gravity name.
281
-     * @return AbstractWatermarkEffect Chainable
281
+     * @return AbstractResizeEffect Chainable
282 282
      */
283 283
     public function setGravity($gravity)
284 284
     {
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
     /**
303 303
      * @param string $color The resize background color.
304 304
      * @throws InvalidArgumentException If the color argument is not a string.
305
-     * @return AbstractRotateEffect Chainable
305
+     * @return AbstractResizeEffect Chainable
306 306
      */
307 307
     public function setBackgroundColor($color)
308 308
     {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 
327 327
     /**
328 328
      * @param boolean $adaptive The adaptative resize flag.
329
-     * @return AbstractRotateEffect Chainable
329
+     * @return AbstractResizeEffect Chainable
330 330
      */
331 331
     public function setAdaptive($adaptive)
332 332
     {
Please login to merge, or discard this patch.