Issue #1811242 by Katiemouse, mrjmd: Add missing type hinting to Dblog module docblocks
parent
b6e7d319e3
commit
1abfba43a1
|
@ -331,7 +331,7 @@ class DbLogController extends ControllerBase {
|
|||
/**
|
||||
* 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 @@ class DblogFilterForm extends FormBase {
|
|||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue