File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Cms/view/adminhtml/templates/browser/content Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class Image extends \Magento\Framework\Model\AbstractModel
45
45
* Default quality value (for JPEG images only).
46
46
*
47
47
* @var int
48
- * @deprecated
48
+ * @deprecated use config setting with path self::XML_PATH_JPEG_QUALITY
49
49
*/
50
50
protected $ _quality = null ;
51
51
@@ -220,7 +220,7 @@ class Image extends \Magento\Framework\Model\AbstractModel
220
220
* @param SerializerInterface $serializer
221
221
* @param ParamsBuilder $paramsBuilder
222
222
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
223
- * @SuppressWarnings(PHPMD.UnusedLocalVariable)1
223
+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
224
224
*/
225
225
public function __construct (
226
226
\Magento \Framework \Model \Context $ context ,
@@ -305,7 +305,7 @@ public function getHeight()
305
305
*
306
306
* @param int $quality
307
307
* @return $this
308
- * @deprecated
308
+ * @deprecated use config setting with path self::XML_PATH_JPEG_QUALITY
309
309
*/
310
310
public function setQuality ($ quality )
311
311
{
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ foreach ($filters as $media_type) {
17
17
}, $ media_type ['files ' ]));
18
18
}
19
19
20
- $ resizeConfig = ( $ block ->getImageUploadConfigData ()->getIsResizeEnabled () )
20
+ $ resizeConfig = $ block ->getImageUploadConfigData ()->getIsResizeEnabled ()
21
21
? "{action: 'resize', maxWidth: "
22
22
. $ block ->getImageUploadMaxWidth ()
23
23
. ", maxHeight: "
You can’t perform that action at this time.
0 commit comments