@@ -72,14 +72,14 @@ class ServerProcessesMonitor
72
72
* whatever is stored in the database for that process, the information
73
73
* stored in the database is updated to reflect the current process state.
74
74
*
75
- * @param array $idsToMonitor IDs of the server processes to monitor.
76
- * If null, then the state of all the processes
77
- * stored in the database is returned.
78
- * @param string $userid only the processes run by the user with name
79
- * $userid are considered. If null, then the userid
80
- * check is not performed.
81
- * @param string $type the type of server processes to retrieve. If null
82
- * then all types are considered.
75
+ * @param array $idsToMonitor IDs of the server processes to monitor.
76
+ * If null, then the state of all the processes
77
+ * stored in the database is returned.
78
+ * @param string|null $userid Only the processes run by the user with name
79
+ * $userid are considered. If null, then the
80
+ * userid check is not performed.
81
+ * @param string|null $type The type of server processes to retrieve. If
82
+ * null then all types are considered.
83
83
*
84
84
* @return array (associative) of the current state of the processes.
85
85
* @throws \DatabaseException if connection to the database cannot be
@@ -93,7 +93,7 @@ class ServerProcessesMonitor
93
93
//------------------------------------------------------
94
94
$ db = $ this ->getDatabaseProvider ()->getDatabase ();
95
95
96
- $ query = "SELECT id, pid, type, userid, stdout_file, stderr_file,
96
+ $ query = "SELECT id, pid, type, userid, stdout_file, stderr_file,
97
97
exit_code_file, exit_code, start_time, end_time,
98
98
exit_text
99
99
FROM server_processes
0 commit comments