Skip to content

Commit

Permalink
#69 Change $document type to PageSnippet (#70)
Browse files Browse the repository at this point in the history
* #69 Change $document type to PageSnippet

* bump release
  • Loading branch information
scrummer authored Aug 29, 2024
1 parent 53786fa commit f76f77f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Upgrade Notes
--

---

## 4.0.1
- [IMPROVEMENT] Update Typehint in News areabrick to be more specific [#69](https://github.com/dachcom-digital/pimcore-news/issues/69)
- If you have overwritten the `News` areabrick, please check you setup and make adjustments if necessary.

## Migrating from Version 3.x to Version 4.0.0

### Global Changes
--

---

News 3.x Upgrade Notes: https://github.com/dachcom-digital/pimcore-news/blob/3.x/UPGRADE.md
2 changes: 1 addition & 1 deletion src/NewsBundle/Document/Areabrick/News/News.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

class News extends AbstractAreabrick implements EditableDialogBoxInterface
{
protected Document $document;
protected Document\PageSnippet $document;
protected Configuration $configuration;
protected EntryTypeManager $entryTypeManager;
protected Translator $translator;
Expand Down

0 comments on commit f76f77f

Please sign in to comment.