Completed
Branch master (e12a30)
by Sławomir
02:01
created
Lib/Items/ClassManager.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
     /**
159 159
      * @param ArrayCollection $methods
160
-     * @return InterfaceManager
160
+     * @return ClassManager
161 161
      */
162 162
     public function setMethods(ArrayCollection $methods)
163 163
     {
@@ -229,6 +229,7 @@  discard block
 block discarded – undo
229 229
 
230 230
     /**
231 231
      * @param string
232
+     * @param string $comment
232 233
      * @return ClassManager
233 234
      */
234 235
     public function setComment($comment)
@@ -396,7 +397,7 @@  discard block
 block discarded – undo
396 397
     /**
397 398
      * Return set of tags used in template
398 399
      *
399
-     * @return array
400
+     * @return string[]
400 401
      */
401 402
     public function getTemplateTags()
402 403
     {
Please login to merge, or discard this patch.
Lib/Items/InterfaceManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
     /**
181 181
      * Return set of tags used in template
182 182
      *
183
-     * @return array
183
+     * @return string[]
184 184
      */
185 185
     public function getTemplateTags()
186 186
     {
Please login to merge, or discard this patch.
Lib/Items/PropertyManager.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,7 +234,6 @@  discard block
 block discarded – undo
234 234
     /**
235 235
      * Return prepared property name eg. name_and_surname => nameAndSurname
236 236
      *
237
-     * @param string $propertyName
238 237
      * @return string
239 238
      */
240 239
     public function getPreparedName()
@@ -363,7 +362,7 @@  discard block
 block discarded – undo
363 362
     /**
364 363
      * Return set of tags used in template
365 364
      *
366
-     * @return array
365
+     * @return string[]
367 366
      */
368 367
     public function getTemplateTags()
369 368
     {
Please login to merge, or discard this patch.
Lib/Items/TestClassManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * Set collection of methods
78 78
      *
79 79
      * @param ArrayCollection $methods
80
-     * @return InterfaceManager
80
+     * @return TestClassManager
81 81
      */
82 82
     public function setMethods(ArrayCollection $methods)
83 83
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     /**
192 192
      * Return set of tags used in template
193 193
      *
194
-     * @return array
194
+     * @return string[]
195 195
      */
196 196
     public function getTemplateTags()
197 197
     {
Please login to merge, or discard this patch.
Lib/Renderer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -430,7 +430,7 @@  discard block
 block discarded – undo
430 430
     }
431 431
 
432 432
     /**
433
-     * @param mixed $item
433
+     * @param RenderableInterface $item
434 434
      * @return UnrecognizedItemToRenderException
435 435
      */
436 436
     protected function getExceptionUnrecognizedItem($item)
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
     }
484 484
 
485 485
     /**
486
-     * @param \HelloWordPl\SimpleEntityGeneratorBundle\Lib\MultilineCommentableInterface $element
486
+     * @param MultilineCommentableInterface $element
487 487
      * @return string
488 488
      */
489 489
     protected function prepareMultilineCommentForElement(MultilineCommentableInterface $element)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@
 block discarded – undo
421 421
         $parts = Tools::explodeTemplateStringToArray($template);
422 422
         array_walk(
423 423
             $parts,
424
-            function (&$value) use ($spaces) {
424
+            function(&$value) use ($spaces) {
425 425
                 $value = str_pad($value, strlen($value) + (int) $spaces, " ", STR_PAD_LEFT);
426 426
             }
427 427
         );
Please login to merge, or discard this patch.
Lib/StructureGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      * - setters and getters for Class and Interface (optional)
133 133
      * - method with prefix is for boolean properties
134 134
      *
135
-     * @param \HelloWordPl\SimpleEntityGeneratorBundle\Lib\ClassManager $classManager
135
+     * @param ClassManager $classManager
136 136
      */
137 137
     protected function generateAndFillClassMethods(ClassManager $classManager)
138 138
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      * Generate methods for interface
167 167
      *
168 168
      * @param InterfaceManager $interface
169
-     * @return ArrayCollection
169
+     * @return InterfaceManager
170 170
      */
171 171
     protected function generateAndFillInterfaceMethods(InterfaceManager $interface)
172 172
     {
@@ -264,7 +264,7 @@  discard block
 block discarded – undo
264 264
     }
265 265
 
266 266
     /**
267
-     * @param mixed $classConfig
267
+     * @param null|ClassConfig $classConfig
268 268
      * @return ClassConfig
269 269
      */
270 270
     private function getDefaultClassConfigIfNeed($classConfig)
Please login to merge, or discard this patch.
Lib/StructureResolver.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 
220 220
     /**
221 221
      * @param ReflectionClass $reflectionClass
222
-     * @return type
222
+     * @return integer
223 223
      */
224 224
     protected function getNewInitPropertyPosition(ReflectionClass $reflectionClass)
225 225
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
 
235 235
     /**
236 236
      * @param ReflectionClass $reflectionClass
237
-     * @return type
237
+     * @return integer
238 238
      */
239 239
     protected function getNewPropertyPosition(ReflectionClass $reflectionClass)
240 240
     {
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
     }
266 266
 
267 267
     /**
268
-     * @param mixed $item
268
+     * @param DumpableInterface $item
269 269
      * @return UnrecognizedItemToDumpException
270 270
      */
271 271
     protected function getExceptionUnrecognizedItem($item)
Please login to merge, or discard this patch.
src/Tests/HelloWordPl/SimpleEntityGeneratorBundle/Lib/Dummies/User.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * For property "fullName"
63 63
      *
64 64
      * @param string $fullName
65
-     * @return this
65
+     * @return User
66 66
      */
67 67
     public function setFullName($fullName)
68 68
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      * For property "email"
85 85
      *
86 86
      * @param string $email
87
-     * @return this
87
+     * @return User
88 88
      */
89 89
     public function setEmail($email)
90 90
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * For property "active"
117 117
      *
118 118
      * @param boolean $active
119
-     * @return this
119
+     * @return User
120 120
      */
121 121
     public function setActive($active)
122 122
     {
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
      * For property "newPosts"
139 139
      *
140 140
      * @param Doctrine\Common\Collections\ArrayCollection<AppBundle\Entity\Post> $newPosts
141
-     * @return this
141
+     * @return User
142 142
      */
143 143
     public function setNewPosts(\Doctrine\Common\Collections\ArrayCollection $newPosts)
144 144
     {
Please login to merge, or discard this patch.
Tests/HelloWordPl/SimpleEntityGeneratorBundle/Lib/Dummies/UserInterface.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
     /**
12 12
      * For property "fullName"
13 13
      * @param string $fullName
14
-     * @return this
14
+     * @return User
15 15
      */
16 16
     public function setFullName($fullName);
17 17
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     /**
25 25
      * For property "email"
26 26
      * @param string $email
27
-     * @return this
27
+     * @return User
28 28
      */
29 29
     public function setEmail($email);
30 30
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * For property "active"
46 46
      * @param boolean $active
47
-     * @return this
47
+     * @return User
48 48
      */
49 49
     public function setActive($active);
50 50
 
@@ -57,13 +57,13 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * For property "newPosts"
59 59
      * @param Doctrine\Common\Collections\ArrayCollection<AppBundle\Entity\Post> $newPosts
60
-     * @return this
60
+     * @return User
61 61
      */
62 62
     public function setNewPosts(\Doctrine\Common\Collections\ArrayCollection $newPosts);
63 63
 
64 64
     /**
65 65
      * For property "newPosts"
66
-     * @return Doctrine\Common\Collections\ArrayCollection<AppBundle\Entity\Post>
66
+     * @return \Doctrine\Common\Collections\ArrayCollection
67 67
      */
68 68
     public function getNewPosts();
69 69
 }
Please login to merge, or discard this patch.