File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -104,25 +104,29 @@ public function rotate(int $angle): self
104104
105105 /**
106106 * @param int $height Height
107+ * @param boolean $preventUpscale Prevent Upscaling
107108 * @return $this
108109 */
109- public function heighten (int $ height ): self
110+ public function heighten (int $ height, bool $ preventUpscale = false ): self
110111 {
111112 $ this ->operations ['heighten ' ] = [
112113 'height ' => $ height ,
114+ 'preventUpscale ' => $ preventUpscale
113115 ];
114116
115117 return $ this ;
116118 }
117119
118120 /**
119121 * @param int $width Width
122+ * @param boolean $preventUpscale Prevent Upscaling
120123 * @return $this
121124 */
122- public function widen (int $ width ): self
125+ public function widen (int $ width, bool $ preventUpscale = false ): self
123126 {
124127 $ this ->operations ['widen ' ] = [
125128 'width ' => $ width ,
129+ 'preventUpscale ' => $ preventUpscale
126130 ];
127131
128132 return $ this ;
You can’t perform that action at this time.
0 commit comments