Address dynamic class property deprecation warnings

This commit is contained in:
Aaron committed 2022-12-25 13:56:42 +01:00
1 parent 49390c372d
commit 7897172256
17 files changed
+54 -8

No files matched your search

+9 -6
View File
@@ -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.