Completed
Push — master ( 767c34...79d01e )
by Todd
02:06
created
src/Model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
     /**
178 178
      * Get the defaultOrder.
179 179
      *
180
-     * @return array Returns the defaultOrder.
180
+     * @return string[] Returns the defaultOrder.
181 181
      */
182 182
     public function getDefaultOrder() {
183 183
         return $this->defaultOrder;
Please login to merge, or discard this patch.
src/DatasetTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * Retrieve an external iterator
46 46
      * @link http://php.net/manual/en/iteratoraggregate.getiterator.php
47
-     * @return Traversable Returns a generator of all rows.
47
+     * @return \ArrayIterator Returns a generator of all rows.
48 48
      */
49 49
     public function getIterator() {
50 50
         return new \ArrayIterator($this->getData());
Please login to merge, or discard this patch.
src/TableQuery.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
158 158
         return $this;
159 159
     }
160 160
 
161
+    /**
162
+     * @param string $name
163
+     */
161 164
     protected function getOption($name, $default = null) {
162 165
         return isset($this->options[$name]) ? $this->options[$name] : $default;
163 166
     }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 namespace Garden\Db;
9 9
 
10 10
 use PDO;
11
-use Traversable;
12 11
 
13 12
 class TableQuery implements \IteratorAggregate, DatasetInterface {
14 13
     use Utils\FetchModeTrait, DatasetTrait {
Please login to merge, or discard this patch.
src/Drivers/MySqlDb.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -599,7 +599,7 @@
 block discarded – undo
599 599
     /**
600 600
      * Build a sql update statement.
601 601
      *
602
-     * @param string|Identifier $table The name of the table to update.
602
+     * @param string $table The name of the table to update.
603 603
      * @param array $set An array of columns to set.
604 604
      * @param array $where The where filter.
605 605
      * @param array $options Additional options for the query.
Please login to merge, or discard this patch.