PHP7 type annotations

This commit is contained in:
Shish
2017-09-19 18:55:43 +01:00
parent c7ca2f4154
commit 977c3db1e3
98 changed files with 624 additions and 1986 deletions

View File

@@ -27,9 +27,6 @@ class AdminBuildingEvent extends Event {
/** @var \Page */
public $page;
/**
* @param Page $page
*/
public function __construct(Page $page) {
$this->page = $page;
}
@@ -41,10 +38,7 @@ class AdminActionEvent extends Event {
/** @var bool */
public $redirect = true;
/**
* @param string $action
*/
public function __construct(/*string*/ $action) {
public function __construct(string $action) {
$this->action = $action;
}
}