Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update tests/Doctrine/Tests/Mocks/HydratorMockStatement.php #239

Closed
wants to merge 1 commit into from

3 participants

@vincequeiroz

Interface "Statement" extends interface "ResultStatement" and method setFetchMode not implemented.

@vincequeiroz vincequeiroz Update tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
Interface "Statement" extends interface "ResultStatement" and method setFetchMode not implemented.
c4a22cb
@deeky666 deeky666 commented on the diff
tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
@@ -67,6 +67,16 @@ public function setResultSet(array $resultSet)
$this->_resultSet = $resultSet;
}
+ /**
+ * setFetchMode
+ * Set the fetch mode to use while iterating this statement.
+ *
+ * @param integer $fetchMode
+ */
+ public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)
@deeky666 Collaborator
deeky666 added a note

please use:

/**
 * {@inheritdoc}
 */
public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)

or leave the DocBlock away in the test. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@beberlei beberlei closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 27, 2012
  1. @vincequeiroz

    Update tests/Doctrine/Tests/Mocks/HydratorMockStatement.php

    vincequeiroz authored
    Interface "Statement" extends interface "ResultStatement" and method setFetchMode not implemented.
This page is out of date. Refresh to see the latest.
Showing with 11 additions and 1 deletion.
  1. +11 −1 tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
View
12 tests/Doctrine/Tests/Mocks/HydratorMockStatement.php
@@ -67,6 +67,16 @@ public function setResultSet(array $resultSet)
$this->_resultSet = $resultSet;
}
+ /**
+ * setFetchMode
+ * Set the fetch mode to use while iterating this statement.
+ *
+ * @param integer $fetchMode
+ */
+ public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)
@deeky666 Collaborator
deeky666 added a note

please use:

/**
 * {@inheritdoc}
 */
public function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)

or leave the DocBlock away in the test. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ {
+ }
+
public function bindColumn($column, &$param, $type = null)
{
}
@@ -98,4 +108,4 @@ public function execute($params = array())
public function rowCount()
{
}
-}
+}
Something went wrong with that request. Please try again.