Browse Source

Update docblocks in StatementDecorator class.

ADmad 8 years ago
parent
commit
8ffa9ef7e4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/Database/Statement/StatementDecorator.php

+ 3 - 3
src/Database/Statement/StatementDecorator.php

@@ -39,7 +39,7 @@ class StatementDecorator implements StatementInterface, Countable, IteratorAggre
      * Statement instance implementation, such as PDOStatement
      * or any other custom implementation.
      *
-     * @var \PDOStatement
+     * @var \Cake\Database\StatementInterface|\PDOStatement
      */
     protected $_statement;
 
@@ -60,7 +60,7 @@ class StatementDecorator implements StatementInterface, Countable, IteratorAggre
     /**
      * Constructor
      *
-     * @param \Cake\Database\StatementInterface|null $statement Statement implementation such as PDOStatement
+     * @param \Cake\Database\StatementInterface|\PDOStatement|null $statement Statement implementation such as PDOStatement
      * @param \Cake\Database\Driver|null $driver Driver instance
      */
     public function __construct($statement = null, $driver = null)
@@ -318,7 +318,7 @@ class StatementDecorator implements StatementInterface, Countable, IteratorAggre
     /**
      * Returns the statement object that was decorated by this class.
      *
-     * @return \Cake\Database\StatementInterface
+     * @return \Cake\Database\StatementInterface|\PDOStatement
      */
     public function getInnerStatement()
     {