Skip to content

Commit 120490d

Browse files
committed
Removed typed properties for PHP 7.3 support #6
1 parent 635bbfe commit 120490d

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [1.1.1] - 2020-01-13
8+
9+
### Fixed
10+
- Removed typed properties for PHP 7.3 support ([#6](https://github.com/markshust/magento2-module-disabletwofactorauth/issues/6)).
11+
712
## [1.1.0] - 2020-01-12
813

914
### Added

Plugin/BypassTwoFactorAuth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class BypassTwoFactorAuth
1515
const XML_PATH_CONFIG_ENABLE = 'twofactorauth/general/enable';
1616

1717
/** @var ScopeConfigInterface */
18-
private ScopeConfigInterface $scopeConfig;
18+
private $scopeConfig;
1919

2020
/**
2121
* BypassTwoFactorAuth constructor.

Plugin/BypassTwoFactorAuthForApiTokenGeneration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ class BypassTwoFactorAuthForApiTokenGeneration
2020
const XML_PATH_CONFIG_ENABLE_FOR_API_TOKEN_GENERATION = 'twofactorauth/general/enable_for_api_token_generation';
2121

2222
/** @var ScopeConfigInterface */
23-
private ScopeConfigInterface $scopeConfig;
23+
private $scopeConfig;
2424

2525
/** @var AdminTokenServiceInterface */
26-
private AdminTokenServiceInterface $adminTokenService;
26+
private $adminTokenService;
2727

2828
/**
2929
* BypassTwoFactorAuthForApiTokenGeneration constructor.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"magento/framework": ">=103"
77
},
88
"type": "magento2-module",
9-
"version": "1.1.0",
9+
"version": "1.1.1",
1010
"license": [
1111
"MIT"
1212
],

0 commit comments

Comments
 (0)