Skip to content

Commit

Permalink
Logger\Adapter\AbstractAdapter::process() is now actually abstract. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
SidRoberts authored and niden committed Apr 23, 2019
1 parent 2f6a8d2 commit 47ec1f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- `Phalcon\Mvc\Model\CriteriaInterface::limit()` now takes `offset` as an integer. [#13977](https://github.com/phalcon/cphalcon/pull/13977)
- Changed `Phalcon\Mvc\Model\Manager::getModelSource()` to use `setModelSource()` internally instead of setting the source manually [#13987](https://github.com/phalcon/cphalcon/pull/13987)
- The property `options` is always an array in `Phalcon\Mvc\Model\Relation`. [#13989](https://github.com/phalcon/cphalcon/pull/13989)
- `Phalcon\Logger\Adapter\AbstractAdapter::process()` is now actually abstract. [#14012](https://github.com/phalcon/cphalcon/pull/14012)

## Fixed
- Fixed `Mvc\Collection::isInitialized()` now works as intended. [#13931](https://github.com/phalcon/cphalcon/pull/13931)
Expand Down
5 changes: 1 addition & 4 deletions phalcon/Logger/Adapter/AbstractAdapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,7 @@ abstract class AbstractAdapter implements AdapterInterface
/**
* Processes the message in the adapter
*/
public function process(<Item> item) -> void
{
throw new Exception("This method cannot be called directly in the adapter");
}
abstract public function process(<Item> item) -> void;

/**
* Rollbacks the internal transaction
Expand Down

0 comments on commit 47ec1f7

Please sign in to comment.