From 00e4470c426fc0ccae36d64921d595e3635db61b Mon Sep 17 00:00:00 2001 From: Roman Grinyov Date: Tue, 23 Aug 2016 09:46:22 +0300 Subject: [PATCH] Cosmetic changes --- framework/base/Event.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/base/Event.php b/framework/base/Event.php index a57e027344..7702a349e9 100644 --- a/framework/base/Event.php +++ b/framework/base/Event.php @@ -13,7 +13,7 @@ namespace yii\base; * It encapsulates the parameters associated with an event. * The [[sender]] property describes who raises the event. * And the [[handled]] property indicates if the event is handled. - * If an event handler sets [[handled]] to be true, the rest of the + * If an event handler sets [[handled]] to be `true`, the rest of the * uninvoked handlers will no longer be called to handle the event. * * Additionally, when attaching an event handler, extra data may be passed @@ -31,14 +31,14 @@ class Event extends Object public $name; /** * @var object the sender of this event. If not set, this property will be - * set as the object whose "trigger()" method is called. + * set as the object whose `trigger()` method is called. * This property may also be a `null` when this event is a * class-level event which is triggered in a static context. */ public $sender; /** - * @var boolean whether the event is handled. Defaults to false. - * When a handler sets this to be true, the event processing will stop and + * @var boolean whether the event is handled. Defaults to `false`. + * When a handler sets this to be `true`, the event processing will stop and * ignore the rest of the uninvoked event handlers. */ public $handled = false; @@ -79,7 +79,7 @@ class Event extends Object * @param mixed $data the data to be passed to the event handler when the event is triggered. * When the event handler is invoked, this data can be accessed via [[Event::data]]. * @param boolean $append whether to append new event handler to the end of the existing - * handler list. If false, the new handler will be inserted at the beginning of the existing + * handler list. If `false`, the new handler will be inserted at the beginning of the existing * handler list. * @see off() */ @@ -101,7 +101,7 @@ class Event extends Object * @param string $class the fully qualified class name from which the event handler needs to be detached. * @param string $name the event name. * @param callable $handler the event handler to be removed. - * If it is null, all handlers attached to the named event will be removed. + * If it is `null`, all handlers attached to the named event will be removed. * @return boolean whether a handler is found and detached. * @see on() */