Skip to content

Commit

Permalink
Password DTO constructor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Sławik committed May 24, 2018
1 parent abcd2c5 commit 130ce2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Model/Data/Password.php
Expand Up @@ -45,10 +45,10 @@ class Password implements PasswordInterface

/**
* Password constructor.
* @param int $id
* @param int $customerId
* @param int $id
*/
public function __construct(int $id, int $customerId)
public function __construct(int $customerId, int $id = 0)
{
$this->customerId = $customerId;
$this->id = $id;
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -7,7 +7,7 @@
"magento/module-customer": ">101.0"
},
"type": "magento2-module",
"version": "1.0.2",
"version": "1.0.3",
"license": [
"MIT"
],
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="LizardMedia_PasswordMigrator" setup_version="1.0.0">
<module name="LizardMedia_PasswordMigrator" setup_version="1.0.3">
<sequence>
<module name="Magento_Customer"/>
</sequence>
Expand Down

0 comments on commit 130ce2f

Please sign in to comment.