Completed
Push — 4.0 ( 243a2b...1abf1e )
by David
50:20 queued 27:28
created
src/Mouf/Database/TDBM/Controllers/TdbmInstallController.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,9 +144,7 @@  discard block
 block discarded – undo
144 144
      *
145 145
      * @param string $daonamespace
146 146
      * @param string $beannamespace
147
-     * @param int    $keepSupport
148 147
      * @param int    $storeInUtc
149
-     * @param int    $castDatesToDateTime
150 148
      * @param string $selfedit
151 149
      *
152 150
      * @throws \Mouf\MoufException
@@ -183,6 +181,9 @@  discard block
 block discarded – undo
183 181
 
184 182
     protected $errorMsg;
185 183
 
184
+    /**
185
+     * @param string $msg
186
+     */
186 187
     private function displayErrorMsg($msg)
187 188
     {
188 189
         $this->errorMsg = $msg;
Please login to merge, or discard this patch.
src/Mouf/Database/TDBM/PageIterator.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
 
61 61
     private $innerResultIterator;
62 62
 
63
+    /**
64
+     * @param integer $offset
65
+     */
63 66
     public function __construct(ResultIterator $parentResult, $magicSql, array $parameters, $limit, $offset, array $columnDescriptors, $objectStorage, $className, TDBMService $tdbmService, MagicQuery $magicQuery, $mode)
64 67
     {
65 68
         $this->parentResult = $parentResult;
@@ -108,7 +111,7 @@  discard block
 block discarded – undo
108 111
     }
109 112
 
110 113
     /**
111
-     * @return int
114
+     * @return double
112 115
      */
113 116
     public function getCurrentPage()
114 117
     {
Please login to merge, or discard this patch.
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/Utils/TDBMDaoGenerator.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,6 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * Constructor.
45 45
      *
46
-     * @param Connection $dbConnection The connection to the database.
47 46
      */
48 47
     public function __construct(SchemaAnalyzer $schemaAnalyzer, Schema $schema, TDBMSchemaAnalyzer $tdbmSchemaAnalyzer)
49 48
     {
@@ -100,6 +99,9 @@  discard block
 block discarded – undo
100 99
      * Generates in one method call the daos and the beans for one table.
101 100
      *
102 101
      * @param $tableName
102
+     * @param string $daonamespace
103
+     * @param string $beannamespace
104
+     * @param boolean $storeInUtc
103 105
      */
104 106
     public function generateDaoAndBean(Table $table, $daonamespace, $beannamespace, ClassNameMapper $classNameMapper, $storeInUtc)
105 107
     {
@@ -140,7 +142,7 @@  discard block
 block discarded – undo
140 142
     /**
141 143
      * Returns the name of the base bean class from the table name.
142 144
      *
143
-     * @param $tableName
145
+     * @param string $tableName
144 146
      *
145 147
      * @return string
146 148
      */
@@ -152,7 +154,7 @@  discard block
 block discarded – undo
152 154
     /**
153 155
      * Returns the name of the base DAO class from the table name.
154 156
      *
155
-     * @param $tableName
157
+     * @param string $tableName
156 158
      *
157 159
      * @return string
158 160
      */
@@ -223,9 +225,10 @@  discard block
 block discarded – undo
223 225
     /**
224 226
      * Writes the PHP bean DAO with simple functions to create/get/save objects.
225 227
      *
226
-     * @param string $fileName  The file that will be written (without the directory)
227 228
      * @param string $className The name of the class
228
-     * @param string $tableName The name of the table
229
+     * @param string $table The name of the table
230
+     * @param string $baseClassName
231
+     * @param string $beanClassName
229 232
      */
230 233
     public function generateDao($className, $baseClassName, $beanClassName, Table $table, $daonamespace, $beannamespace, ClassNameMapper $classNameMapper)
231 234
     {
@@ -468,6 +471,8 @@  discard block
 block discarded – undo
468 471
      * Generates the factory bean.
469 472
      *
470 473
      * @param Table[] $tableList
474
+     * @param string $daoFactoryClassName
475
+     * @param string $daoNamespace
471 476
      */
472 477
     private function generateFactory(array $tableList, $daoFactoryClassName, $daoNamespace, ClassNameMapper $classNameMapper)
473 478
     {
Please login to merge, or discard this patch.