Completed
Pull Request — 4.0 (#48)
by Marc
05:03
created
src/Mouf/Database/TDBM/ResultIterator.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -66,6 +66,13 @@  discard block
 block discarded – undo
66 66
 
67 67
     private $mode;
68 68
 
69
+    /**
70
+     * @param string $magicSql
71
+     * @param string $magicSqlCount
72
+     * @param WeakrefObjectStorage $objectStorage
73
+     * @param string|null $className
74
+     * @param integer $mode
75
+     */
69 76
     public function __construct($magicSql, $magicSqlCount, array $parameters, array $columnDescriptors, $objectStorage, $className, TDBMService $tdbmService, MagicQuery $magicQuery, $mode)
70 77
     {
71 78
         $this->magicSql = $magicSql;
@@ -147,6 +154,7 @@  discard block
 block discarded – undo
147 154
 
148 155
     /**
149 156
      * @param int $offset
157
+     * @param integer $limit
150 158
      *
151 159
      * @return PageIterator
152 160
      */
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/TDBMService.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -777,7 +777,7 @@  discard block
 block discarded – undo
777 777
      * This is used internally by TDBM to add an object to the list of objects that have been
778 778
      * created/updated but not saved yet.
779 779
      *
780
-     * @param AbstractTDBMObject $myObject
780
+     * @param DbRow $myObject
781 781
      */
782 782
     public function _addToToSaveObjectList(DbRow $myObject)
783 783
     {
@@ -1441,7 +1441,7 @@  discard block
 block discarded – undo
1441 1441
     }
1442 1442
 
1443 1443
     /**
1444
-     * @param $table
1444
+     * @param string $table
1445 1445
      * @param array  $primaryKeys
1446 1446
      * @param array  $additionalTablesFetch
1447 1447
      * @param bool   $lazy                  Whether to perform lazy loading on this object or not.
@@ -1616,7 +1616,7 @@  discard block
 block discarded – undo
1616 1616
      * @param $pivotTableName
1617 1617
      * @param AbstractTDBMObject $bean
1618 1618
      *
1619
-     * @return AbstractTDBMObject[]
1619
+     * @return ResultIterator
1620 1620
      */
1621 1621
     public function _getRelatedBeans($pivotTableName, AbstractTDBMObject $bean)
1622 1622
     {
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/Controllers/TdbmInstallController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -181,6 +181,9 @@
 block discarded – undo
181 181
 
182 182
     protected $errorMsg;
183 183
 
184
+    /**
185
+     * @param string $msg
186
+     */
184 187
     private function displayErrorMsg($msg)
185 188
     {
186 189
         $this->errorMsg = $msg;
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/Utils/TDBMDaoGenerator.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
     /**
156 156
      * Returns the name of the base bean class from the table name.
157 157
      *
158
-     * @param $tableName
158
+     * @param string $tableName
159 159
      *
160 160
      * @return string
161 161
      */
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
     /**
168 168
      * Returns the name of the base DAO class from the table name.
169 169
      *
170
-     * @param $tableName
170
+     * @param string $tableName
171 171
      *
172 172
      * @return string
173 173
      */
@@ -185,6 +185,7 @@  discard block
 block discarded – undo
185 185
      * @param Table           $table           The table
186 186
      * @param string          $beannamespace   The namespace of the bean
187 187
      * @param ClassNameMapper $classNameMapper
188
+     * @param boolean $storeInUtc
188 189
      *
189 190
      * @throws TDBMException
190 191
      */
@@ -501,6 +502,8 @@  discard block
 block discarded – undo
501 502
      * Generates the factory bean.
502 503
      *
503 504
      * @param Table[] $tableList
505
+     * @param string $daoFactoryClassName
506
+     * @param string $daoNamespace
504 507
      */
505 508
     private function generateFactory(array $tableList, $daoFactoryClassName, $daoNamespace, ClassNameMapper $classNameMapper)
506 509
     {
@@ -647,7 +650,7 @@  discard block
 block discarded – undo
647 650
     /**
648 651
      * Absolute path to composer json file.
649 652
      *
650
-     * @param string $rootPath
653
+     * @param string $composerFile
651 654
      */
652 655
     public function setComposerFile($composerFile)
653 656
     {
Please login to merge, or discard this patch.