Commit 1abfba43 authored by alexpott's avatar alexpott

Issue #1811242 by Katiemouse, mrjmd: Add missing type hinting to Dblog module docblocks

parent b6e7d319
......@@ -331,7 +331,7 @@ protected function buildFilterQuery() {
/**
* Formats a database log message.
*
* @param stdClass $row
* @param object $row
* The record from the watchdog table. The object properties are: wid, uid,
* severity, type, timestamp, message, variables, link, name.
*
......
......@@ -88,6 +88,11 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
/**
* Resets the filter form.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*/
public function resetForm(array &$form, FormStateInterface $form_state) {
$_SESSION['dblog_overview_filter'] = array();
......
......@@ -30,6 +30,9 @@ class DBLogResource extends ResourceBase {
*
* Returns a watchdog log entry for the specified ID.
*
* @param int $id
* The ID of the watchdog log entry.
*
* @return \Drupal\rest\ResourceResponse
* The response containing the log entry.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment