forked from Public/pics
Address dynamic class property deprecation warnings
This commit is contained in:
@@ -12,17 +12,20 @@
|
||||
*/
|
||||
abstract class User
|
||||
{
|
||||
protected $id_user;
|
||||
protected $first_name;
|
||||
protected $surname;
|
||||
protected $emailaddress;
|
||||
protected int $id_user;
|
||||
protected string $first_name;
|
||||
protected string $surname;
|
||||
protected string $slug;
|
||||
protected string $emailaddress;
|
||||
protected string $password_hash;
|
||||
protected $creation_time;
|
||||
protected $last_action_time;
|
||||
protected $ip_address;
|
||||
protected $is_admin;
|
||||
protected string $reset_key;
|
||||
|
||||
protected $is_logged;
|
||||
protected $is_guest;
|
||||
protected bool $is_logged;
|
||||
protected bool $is_guest;
|
||||
|
||||
/**
|
||||
* Returns user id.
|
||||
|
||||
Reference in New Issue
Block a user