Skip to content

Commit

Permalink
Merge pull request #71 from jweiland-net/bugfix/category-property-typ…
Browse files Browse the repository at this point in the history
…e-lazyloadingproxy

[BUGFIX] Category parent property should be typed with LazyLoadingProxy
  • Loading branch information
sfroemkenjw authored Jan 17, 2024
2 parents 6fe8cfd + 9bfe374 commit 6d34f70
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Domain/Model/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Category extends AbstractEntity
protected string $description = '';

#[Lazy]
protected ?Category $parent = null;
protected Category|LazyLoadingProxy|null $parent = null;

public function getTitle(): string
{
Expand Down
5 changes: 5 additions & 0 deletions Documentation/ChangeLog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
ChangeLog
=========

Version 7.0.1
=============

* BUGFIX: Category parent property lazy loading with LazyLoadingProxy type

Version 7.0.0
=============

Expand Down
2 changes: 1 addition & 1 deletion Documentation/Settings.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[general]

project = Yellowpages2
version = 7.0.0
version = 7.0.1
release = 7.0
copyright = by jweiland.net

Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'author_email' => '[email protected]',
'author_company' => 'jweiland.net',
'state' => 'stable',
'version' => '7.0.0',
'version' => '7.0.1',
'constraints' => [
'depends' => [
'typo3' => '12.4.0-12.4.99',
Expand Down

0 comments on commit 6d34f70

Please sign in to comment.