use new-style constructors everywhere

This commit is contained in:
Shish
2014-03-22 09:00:59 +00:00
parent da29912646
commit 7b68d8ebfd
22 changed files with 38 additions and 38 deletions

View File

@ -13,7 +13,7 @@
class NumericScoreSetEvent extends Event {
var $image_id, $user, $score;
public function NumericScoreSetEvent(/*int*/ $image_id, User $user, /*int*/ $score) {
public function __construct(/*int*/ $image_id, User $user, /*int*/ $score) {
$this->image_id = $image_id;
$this->user = $user;
$this->score = $score;