Some minor linting.
This commit is contained in:
parent
433d67453c
commit
95b94bd115
@ -46,6 +46,7 @@ class User {
|
||||
* would be to use User::by_id, User::by_session, etc.
|
||||
*
|
||||
* @param mixed $row
|
||||
* @throws SCoreException
|
||||
*/
|
||||
public function __construct($row) {
|
||||
global $_user_classes;
|
||||
|
@ -27,7 +27,7 @@ class FavoriteSetEvent extends Event {
|
||||
* @param bool $do_set
|
||||
*/
|
||||
public function __construct(/*int*/ $image_id, User $user, /*boolean*/ $do_set) {
|
||||
assert(is_numeric($image_id));
|
||||
assert(is_int($image_id));
|
||||
assert(is_bool($do_set));
|
||||
|
||||
$this->image_id = $image_id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user