Verified Commit 990c5fe0 authored by Dave Long's avatar Dave Long
Browse files

docs: #3552759 Fix more incorrect phpdoc type hints (part 1)

By: mstrelan
By: smustgrave
By: quietone
By: dcam
(cherry picked from commit 126e7745)
parent a2ac2dc8
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -181,7 +181,7 @@ protected function prepareAnnotationDefinition(AnnotationInterface $annotation,
  /**
   * Gets an array of PSR-4 namespaces to search for plugin classes.
   *
   * @return string[]
   * @return array<string, list<string>>
   *   The PSR-4 namespaces for the plugin class.
   */
  protected function getPluginNamespaces() {
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ class PhpTransliteration implements TransliterationInterface {
  /**
   * Constructs a transliteration object.
   *
   * @param string $data_directory
   * @param string|null $data_directory
   *   (optional) The directory where data files reside. If omitted, defaults
   *   to subdirectory 'data' underneath the directory where the class's PHP
   *   file resides.
+1 −1
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public function limit($limit = 10) {
   * explicitly, so it is possible for two pagers to end up using the same ID
   * if both are set explicitly.
   *
   * @param array $element
   * @param int $element
   *   Element ID that is used to differentiate different pager queries.
   */
  public function element($element) {
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ trait FieldInputValueNormalizerTrait {
   *
   * @param mixed $value
   *   The raw field value to normalize.
   * @param string $main_property_name
   * @param string|null $main_property_name
   *   The main field property name.
   *
   * @return array
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ class Element {
  /**
   * Checks if the key is a property.
   *
   * @param string $key
   * @param array-key $key
   *   The key to check.
   *
   * @return bool
Loading