Skip to content

Commit

Permalink
PluginInterface::getExtendedHandlers does not belong to deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Jul 9, 2020
1 parent 653636c commit 12edb52
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions upgrades/upgrade_110_120.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ Other changes
~~~~~~~~~~~~~

* Minimum supported PHP version is now 7.3

Deprecations
------------

* ``LayoutsService::hasStatus`` method has been deprecated and will be removed
in 2.0. Use ``LayoutsService::layoutExists`` method instead.

* Block plugin interface method
``Netgen\Layouts\Block\BlockDefinition\Handler\PluginInterface::getExtendedHandlers``
changed the return type hint from ``array`` to a backwards compatible
Expand All @@ -96,6 +89,12 @@ Deprecations
wish to use ``yield`` in the method, or just for consistency sake, you can
update your block plugins to use the ``iterable`` return typehint.

Deprecations
------------

* ``LayoutsService::hasStatus`` method has been deprecated and will be removed
in 2.0. Use ``LayoutsService::layoutExists`` method instead.

* Not implementing ``TargetTypeInterface::export`` and
``TargetTypeInterface::import`` methods is deprecated and they will be added
to ``TargetTypeInterface`` in 2.0. Implement these methods in your target
Expand Down

0 comments on commit 12edb52

Please sign in to comment.