Fixing more PHP Doc related issues.

This commit is contained in:
jgen
2014-04-27 19:29:36 -04:00
parent 03b3cdcbd2
commit 8a2eb4b121
8 changed files with 117 additions and 27 deletions

View File

@@ -24,15 +24,26 @@
* Sent when the admin page is ready to be added to
*/
class AdminBuildingEvent extends Event {
var $page;
/** @var \Page */
public $page;
/**
* @param Page $page
*/
public function __construct(Page $page) {
$this->page = $page;
}
}
class AdminActionEvent extends Event {
var $action;
var $redirect = true;
/** @var string */
public $action;
/** @var bool */
public $redirect = true;
/**
* @param string $action
*/
public function __construct(/*string*/ $action) {
$this->action = $action;
}