Skip to content

Commit

Permalink
Removed typed properties for PHP 7.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
markshust committed Jan 13, 2021
1 parent d152939 commit 4d3dbc5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Api/Cms/SimpleBlock.php
Expand Up @@ -21,16 +21,16 @@
class SimpleBlock
{
/** @var BlockInterfaceFactory */
protected BlockInterfaceFactory $blockInterfaceFactory;
protected $blockInterfaceFactory;

/** @var BlockRepository */
protected BlockRepository $blockRepository;
protected $blockRepository;

/** @var GetBlockByIdentifierInterface */
protected GetBlockByIdentifierInterface $getBlockByIdentifier;
protected $getBlockByIdentifier;

/** @var LoggerInterface */
protected LoggerInterface $logger;
protected $logger;

/**
* UpdateConfig constructor.
Expand Down
8 changes: 4 additions & 4 deletions Api/Cms/SimplePage.php
Expand Up @@ -21,16 +21,16 @@
class SimplePage
{
/** @var GetPageByIdentifierInterface */
protected GetPageByIdentifierInterface $getPageByIdentifier;
protected $getPageByIdentifier;

/** @var LoggerInterface */
protected LoggerInterface $logger;
protected $logger;

/** @var PageInterfaceFactory */
protected PageInterfaceFactory $pageInterfaceFactory;
protected $pageInterfaceFactory;

/** @var PageRepository */
protected PageRepository $pageRepository;
protected $pageRepository;

/**
* UpdateConfig constructor.
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [2.0.1] - 2020-01-13

### Fixed
- Removed typed properties for PHP 7.3 support.

## [2.0.0] - 2020-01-12

### Added
Expand Down
6 changes: 3 additions & 3 deletions Setup/Patch/SimpleDataPatch.php
Expand Up @@ -15,13 +15,13 @@
abstract class SimpleDataPatch implements DataPatchInterface
{
/** @var SimpleBlock */
protected SimpleBlock $block;
protected $block;

/** @var SimpleConfig */
protected SimpleConfig $config;
protected $config;

/** @var SimplePage */
protected SimplePage $page;
protected $page;

/**
* SimpleDataPatch constructor.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -6,7 +6,7 @@
"magento/framework": ">=101"
},
"type": "magento2-module",
"version": "2.0.0",
"version": "2.0.1",
"license": [
"MIT"
],
Expand Down

0 comments on commit 4d3dbc5

Please sign in to comment.