From d1338cbb59d0752155f17d94b0b9b073df95183f Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Sat, 27 May 2023 13:06:44 +0300 Subject: content model; add petition to database --- core/classes/Registry.php | 14 +++++++------- core/classes/authentication/User.php | 5 ++++- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'core') diff --git a/core/classes/Registry.php b/core/classes/Registry.php index 02a1ec5..d6606f6 100644 --- a/core/classes/Registry.php +++ b/core/classes/Registry.php @@ -20,9 +20,9 @@ */ class Registry { - /** STATIC PROPERTIES - * ------------------------------------------------------------------------- - */ + + ## STATIC PROPERTIES + ## ------------------------------------------------------------------------- /** @var array $records * keeps all ready-to-use records @@ -46,9 +46,9 @@ class Registry private static $wish = Array(); - /** METHODS - * ------------------------------------------------------------------------- - */ + + ## METHODS + ## ------------------------------------------------------------------------- /** set * --- -- -- - - - @@ -108,7 +108,7 @@ class Registry * the data/object/handler/etc until/if-ever is called. * * @param string $label : label / refference key - * @param function : + * @param callback $function : */ static function vow($label, $function) { diff --git a/core/classes/authentication/User.php b/core/classes/authentication/User.php index f6508ff..2257dc0 100644 --- a/core/classes/authentication/User.php +++ b/core/classes/authentication/User.php @@ -11,6 +11,10 @@ class User implements UserInterface { + /** PROPERTIES + * ------------------------------------------------------------------------- + */ + // @var string private $userName; @@ -99,7 +103,6 @@ class User implements UserInterface return $this; } - /** setEnabled * * @param bool $enabled -- cgit v1.2.3