Unverified Commit 2277edbc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3478200 by quietone, alexpott: Fix MissingParamType in core/lib/Drupal/Component

parent 21b6e13c
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ public function getURI();
  /**
   * Set the URI of the PO stream that is going to be read or written.
   *
   * @param $uri
   * @param string $uri
   *   URI string to set for this stream.
   */
  public function setURI($uri);
+2 −2
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ public function setItemFromArray($value) {
  /**
   * Parses a string in quotes.
   *
   * @param $string
   * @param string $string
   *   A string specified with enclosing quotes.
   *
   * @return bool|string
@@ -572,7 +572,7 @@ public function parseQuoted($string) {
  /**
   * Generates a short, one-string version of the passed comment array.
   *
   * @param $comment
   * @param string[] $comment
   *   An array of strings containing a comment.
   *
   * @return string
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ public function writeItem(PoItem $item);
   *
   * @param PoReaderInterface $reader
   *   Reader to read PoItems from.
   * @param $count
   * @param int $count
   *   Amount of items to read from $reader to write. If -1, all items are
   *   read from $reader.
   */
+4 −4
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ class Graph {
  /**
   * Instantiates the depth first search object.
   *
   * @param $graph
   * @param array $graph
   *   A three dimensional associated array, with the first keys being the names
   *   of the vertices, these can be strings or numbers. The second key is
   *   'edges' and the third one are again vertices, each such key representing
@@ -87,13 +87,13 @@ public function searchAndSort() {
  /**
   * Performs a depth-first search on a graph.
   *
   * @param $state
   * @param array $state
   *   An associative array. The key 'last_visit_order' stores a list of the
   *   vertices visited. The key components stores list of vertices belonging
   *   to the same the component.
   * @param $start
   * @param string|int $start
   *   An arbitrary vertex where we started traversing the graph.
   * @param $component
   * @param string|int|null $component
   *   The component of the last vertex.
   *
   * @see \Drupal\Component\Graph\Graph::searchAndSort()
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class FileReadOnlyStorage implements PhpStorageInterface {
  /**
   * Constructs this FileStorage object.
   *
   * @param $configuration
   * @param string[] $configuration
   *   An associative array, containing at least two keys (the rest are ignored):
   *   - directory: The directory where the files should be stored.
   *   - bin: The storage bin. Multiple storage objects can be instantiated with
Loading