File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/main/resources/fileTemplates/internal Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0).
9
9
### Added
10
10
11
11
- Clear notifications for the process status of URN generation [ #2486 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/2486 )
12
+ - Added array as a type in Data Model properties [ #1295 ] ( https://github.com/magento/magento2-phpstorm-plugin/pull/1295 )
12
13
13
14
### Fixed
14
15
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ class ${NAME} #if (${EXTENDS})extends ${EXTENDS} #end #if (${IMPLEMENTS} && $has
48
48
*/
49
49
public function get$propertyUpperCamel(): ?$propertyType
50
50
{
51
- #if($propertyType == 'string')
51
+ #if($propertyType == 'string' || $propertyType == 'array' )
52
52
return $this->getData(self::$propertyUpperSnake);
53
53
#{else}
54
54
return $this->getData(self::$propertyUpperSnake) === null ? null
You can’t perform that action at this time.
0 commit comments