Verified Commit 2474398f authored by quietone's avatar quietone
Browse files

docs: #3559067 Fix type hints missing the leading backslash in @param, @return and @var

By: znerol
By: mstrelan
parent 9ac8e261
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -433,7 +433,7 @@ protected function parseLibraryInfo($extension, $path) {
   *   The extension name.
   * @param array $overrides
   *   The library overrides.
   * @param Drupal\Core\Theme\ActiveTheme $active_theme
   * @param \Drupal\Core\Theme\ActiveTheme $active_theme
   *   The active theme.
   *
   * @return array
+2 −2
Original line number Diff line number Diff line
@@ -472,7 +472,7 @@
 * Structured (aka dynamic) queries that have tags associated may be altered by
 * any module before the query is executed.
 *
 * @param Drupal\Core\Database\Query\AlterableInterface $query
 * @param \Drupal\Core\Database\Query\AlterableInterface $query
 *   A Query object describing the composite parts of a SQL query.
 *
 * @see hook_query_TAG_alter()
@@ -497,7 +497,7 @@ function hook_query_alter(Drupal\Core\Database\Query\AlterableInterface $query)
 * - ENTITY_TYPE . '_access': For queries of entities that will be displayed in
 *   a listing (e.g., from Views) and therefore require access control.
 *
 * @param Drupal\Core\Database\Query\AlterableInterface $query
 * @param \Drupal\Core\Database\Query\AlterableInterface $query
 *   A Query object describing the composite parts of a SQL query.
 *
 * @see hook_query_alter()
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ function _comment_entity_uses_integer_id($entity_type_id) {
 *
 * @param \Drupal\comment\CommentInterface $comment
 *   The comment entity to preview.
 * @param Drupal\Core\Form\FormStateInterface $form_state
 * @param \Drupal\Core\Form\FormStateInterface $form_state
 *   The current state of the form.
 *
 * @return array
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
/**
 * Access callback for editing a shortcut set.
 *
 * @param Drupal\shortcut\ShortcutSetInterface $shortcut_set
 * @param \Drupal\shortcut\ShortcutSetInterface $shortcut_set
 *   (optional) The shortcut set to be edited. If not set, the current user's
 *   shortcut set will be used.
 *
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ interface UserAuthenticationInterface {
   * @param string $identifier
   *   The user identifier to authenticate. Usually the username.
   *
   * @return Drupal\User\UserInterface|false
   * @return \Drupal\User\UserInterface|false
   *   The user account on success, or FALSE on failure to authenticate.
   */
  public function lookupAccount($identifier): UserInterface|false;
Loading