File tree Expand file tree Collapse file tree 2 files changed +52
-6
lines changed
Expand file tree Collapse file tree 2 files changed +52
-6
lines changed Original file line number Diff line number Diff line change 2121 * @package VerifierServer
2222 */
2323class PersistentState {
24- private PDO $ pdo ;
24+ /**
25+ * The PDO object for database operations.
26+ *
27+ * @var PDO Database connection.
28+ */
29+ protected PDO $ pdo ;
30+
31+ /**
32+ * The list of verification items.
33+ *
34+ * @var array Verification list.
35+ */
2536 private array $ verifyList ;
2637
2738 public function __construct (
Original file line number Diff line number Diff line change 3131 * @package VerifierServer
3232 */
3333class Server {
34- private LoopInterface $ loop ;
35- private $ server ;
36- private SocketServer $ socket ;
37- private bool $ initialized = false ;
38- private bool $ running = false ;
34+ /**
35+ * The ReactPHP event loop.
36+ *
37+ * @var LoopInterface Event loop.
38+ * */
39+ protected LoopInterface $ loop ;
40+
41+ /**
42+ * The server instance.
43+ *
44+ * @var HttpServer|resource|null Server.
45+ * */
46+ protected $ server ;
3947
48+ /**
49+ * The socket server instance.
50+ *
51+ * @var SocketServer Socket server.
52+ */
53+ protected SocketServer $ socket ;
54+
55+ /**
56+ * Whether the server has been initialized.
57+ *
58+ * @var bool Initialized.
59+ *
60+ */
61+ protected bool $ initialized = false ;
62+
63+ /**
64+ * Whether the server is running.
65+ *
66+ * @var bool Running.
67+ */
68+ protected bool $ running = false ;
69+
70+ /**
71+ * The server's endpoints.
72+ *
73+ * @var EndpointInterface[] Endpoints.
74+ * */
4075 private array $ endpoints = [];
4176
4277 public function __construct (
You can’t perform that action at this time.
0 commit comments