Completed
Push — 1.0 ( dceb93...9b5ce9 )
by Raphaël
04:44 queued 02:11
created
src/Service/EntitiesGeneratorService.php 1 patch
Doc Comments   +20 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,6 +84,13 @@  discard block
 block discarded – undo
84 84
         return $namespace.'\\'.$daoClassName;
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $namespace
89
+     * @param string $className
90
+     * @param string $moduleName
91
+     * @param string $targetDirectory
92
+     * @param string $moduleSingular
93
+     */
87 94
     public function generateBean($fields, $namespace, $className, $moduleName, $targetDirectory, $moduleSingular)
88 95
     {
89 96
 
@@ -211,7 +218,6 @@  discard block
 block discarded – undo
211 218
      * Returns a unique identifier from the name.
212 219
      *
213 220
      * @param $name
214
-     * @param array $usedNames
215 221
      */
216 222
     private function getUniqueIdentifier($name, array $usedIdentifiers)
217 223
     {
@@ -228,6 +234,15 @@  discard block
 block discarded – undo
228 234
         }
229 235
     }
230 236
 
237
+    /**
238
+     * @param string $namespace
239
+     * @param string $className
240
+     * @param string $daoClassName
241
+     * @param string $moduleName
242
+     * @param string $targetDirectory
243
+     * @param string $moduleSingular
244
+     * @param string $modulePlural
245
+     */
231 246
     public function generateDao($fields, $namespace, $className, $daoClassName, $moduleName, $targetDirectory, $moduleSingular, $modulePlural)
232 247
     {
233 248
         //        if (class_exists($namespace."\\".$className)) {
@@ -346,6 +361,10 @@  discard block
 block discarded – undo
346 361
         return $str;
347 362
     }
348 363
 
364
+    /**
365
+     * @param string $description
366
+     * @param string $type
367
+     */
349 368
     private static function registerProperty(PhpClass $class, $name, $description, $type)
350 369
     {
351 370
         if (!$class->hasProperty($name)) {
Please login to merge, or discard this patch.