Skip to content
Snippets Groups Projects
Commit 1abfba43 authored by Alex Pott's avatar Alex Pott
Browse files

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

parent b6e7d319
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment