Verified Commit 130e46aa authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3312439 by mondrake: StatementInterface::fetch() return typehint is wrong

(cherry picked from commit dc3d5683)
parent 9ab4dbb2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -97,8 +97,8 @@ public function setFetchMode($mode, $a1 = NULL, $a2 = []);
   * @param $cursor_offset
   *   Not implemented in all database drivers, don't use.
   *
   * @return array|object
   *   A result, formatted according to $mode.
   * @return array|object|false
   *   A result, formatted according to $mode, or FALSE on failure.
   */
  public function fetch($mode = NULL, $cursor_orientation = NULL, $cursor_offset = NULL);