aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/event/lib/EventEmitter.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-11-18 13:00:43 +0100
committerMax Kostikov <max@kostikov.co>2019-11-18 13:00:43 +0100
commit498c021aec25d845c67150475294066113de6d20 (patch)
treec8934c83f6519bf58f27f410683e06cc6615a6a0 /vendor/sabre/event/lib/EventEmitter.php
parent5ee133843f166a58e0c6236e543204be8dae70d3 (diff)
parentef75d27afbbee4cfe7d4441269e350b8f7f432f9 (diff)
downloadvolse-hubzilla-498c021aec25d845c67150475294066113de6d20.tar.gz
volse-hubzilla-498c021aec25d845c67150475294066113de6d20.tar.bz2
volse-hubzilla-498c021aec25d845c67150475294066113de6d20.zip
Merge branch 'dev' into 'dev'
Dev sync See merge request kostikov/core!5
Diffstat (limited to 'vendor/sabre/event/lib/EventEmitter.php')
-rw-r--r--vendor/sabre/event/lib/EventEmitter.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/vendor/sabre/event/lib/EventEmitter.php b/vendor/sabre/event/lib/EventEmitter.php
index 1bb1c3cf9..cae6ac2a6 100644
--- a/vendor/sabre/event/lib/EventEmitter.php
+++ b/vendor/sabre/event/lib/EventEmitter.php
@@ -1,18 +1,19 @@
-<?php
+<?php declare (strict_types=1);
namespace Sabre\Event;
/**
- * EventEmitter object.
+ * This is the old name for the Emitter class.
*
- * Instantiate this class, or subclass it for easily creating event emitters.
+ * Instead of of using EventEmitter, please use Emitter. They are identical
+ * otherwise.
*
- * @copyright Copyright (C) 2013-2015 fruux GmbH (https://fruux.com/).
+ * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
* @author Evert Pot (http://evertpot.com/)
* @license http://sabre.io/license/ Modified BSD License
*/
-class EventEmitter implements EventEmitterInterface {
+class EventEmitter implements EmitterInterface {
- use EventEmitterTrait;
+ use EmitterTrait;
}