Skip to content

Commit 6b652f7

Browse files
#8 fix type error in uploader.php and rise version numbers
1 parent b21718d commit 6b652f7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Model/File/Uploader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Uploader extends \Magento\Framework\File\Uploader
2323
/**
2424
* Uploader constructor.
2525
* @param ImageHelper $imageHelper
26-
* @param $fileId
26+
* @param string $fileId
2727
* @param Mime|null $fileMime
2828
* @param DirectoryList|null $directoryList
2929
* @param DriverPool|null $driverPool
@@ -32,7 +32,7 @@ class Uploader extends \Magento\Framework\File\Uploader
3232
*/
3333
public function __construct(
3434
ImageHelper $imageHelper,
35-
$fileId,
35+
string $fileId,
3636
Mime $fileMime = null,
3737
DirectoryList $directoryList = null,
3838
DriverPool $driverPool = null,

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"php": ">=5.5.0"
66
},
77
"type": "magento2-module",
8-
"version": "1.1.3",
8+
"version": "1.1.4",
99
"license": [
1010
"OSL-3.0",
1111
"AFL-3.0"

etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9-
<module name="MagestyApps_WebImages" setup_version="1.1.3" />
9+
<module name="MagestyApps_WebImages" setup_version="1.1.4" />
1010
</config>

0 commit comments

Comments
 (0)