Completed
Pull Request — master (#5)
by Stefano
25:36 queued 17:24
created
Generator/ClassGenerator.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Aggiungere il costruttore.
39 39
      *
40
-     * @return Nette\PhpGenerator\Method
40
+     * @return Method
41 41
      */
42 42
     private function addConstructor()
43 43
     {
@@ -51,6 +51,10 @@  discard block
 block discarded – undo
51 51
         return $mc;
52 52
     }
53 53
 
54
+    /**
55
+     * @param string $comment
56
+     * @param boolean $createGetter
57
+     */
54 58
     private function addSingleton($comment, $createGetter)
55 59
     {
56 60
         $this->info('Aggiungo supporto singleton', [
@@ -76,6 +80,9 @@  discard block
 block discarded – undo
76 80
         $field->addComment($comment)->addComment('@var '.$fullClassName);
77 81
     }
78 82
 
83
+    /**
84
+     * @param boolean $isConcrete
85
+     */
79 86
     private function addGetter($fieldName, $fieldClassFull, $isStatic, $isConcrete)
80 87
     {
81 88
         $this->info('Aggiungo getter', [
@@ -115,6 +122,9 @@  discard block
 block discarded – undo
115 122
         ]);
116 123
     }
117 124
 
125
+    /**
126
+     * @param boolean $isConcrete
127
+     */
118 128
     private function addSetter($fieldName, $fieldClassFull, $isStatic, $isConcrete)
119 129
     {
120 130
         $this->info('Aggiungo setter', [
Please login to merge, or discard this patch.
Generator/DDDGenerator.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@  discard block
 block discarded – undo
86 86
         $this->rym->readYaml($fullPathFile);
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $message
91
+     */
89 92
     private function info($message, $context = [])
90 93
     {
91 94
         if (!is_null($this->logger)) {
@@ -93,6 +96,9 @@  discard block
 block discarded – undo
93 96
         }
94 97
     }
95 98
 
99
+    /**
100
+     * @param string $message
101
+     */
96 102
     private function error($message, $context = [])
97 103
     {
98 104
         if (!is_null($this->logger)) {
@@ -113,7 +119,7 @@  discard block
 block discarded – undo
113 119
     /**
114 120
      * [generate description].
115 121
      *
116
-     * @param string $directoryOutput directory where write generated class
122
+     * @param Local $directoryOutput directory where write generated class
117 123
      */
118 124
     public function generate(Local $directoryOutput)
119 125
     {
Please login to merge, or discard this patch.
Generator/RestGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         $str = ucfirst($str);
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $ramlFile
70
+     */
68 71
     public function generateRest($ramlFile, Local $directoryOutput)
69 72
     {
70 73
         $parser = new Parser();
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CAMEG.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CAMEG extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CAMEG
13
+     * @return CAMEG
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CAMLC.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CAMLC extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CAMLC
13
+     * @return CAMLC
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CAMRS.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CAMRS extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CAMRS
13
+     * @return CAMRS
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CCG.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CCG extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CCG
13
+     * @return CCG
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CFMEG.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CFMEG extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CFMEG
13
+     * @return CFMEG
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.
Bundle/FormazioneBundle/Domain/ValueObject/TipologiaCampo/CFMLC.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 final class CFMLC extends TipologiaCampo
11 11
 {
12 12
     /**
13
-     * @return BitPrepared\Bundle\FormazioneBundle\Domain\ValueObject\TipologiaCampo\CFMLC
13
+     * @return CFMLC
14 14
      */
15 15
     final public static function instance()
16 16
     {
Please login to merge, or discard this patch.