Completed
Pull Request — master (#41)
by
unknown
02:57
created
src/Entities/Assertions/AssertionFactory.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
      *
190 190
      * @param string $string The string potentially containing a structure name
191 191
      *
192
-     * @return boolean
192
+     * @return false|string
193 193
      */
194 194
     protected function filterType($string)
195 195
     {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
      *
245 245
      * @param string $string The string potentially containing a scalar type hint
246 246
      *
247
-     * @return boolean|string
247
+     * @return false|string
248 248
      */
249 249
     protected function filterScalarType($string)
250 250
     {
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
      *
274 274
      * @param string $string The string potentially containing a type hint for a typed collection
275 275
      *
276
-     * @return boolean|string
276
+     * @return string|false
277 277
      */
278 278
     protected function filterTypedCollection($string)
279 279
     {
Please login to merge, or discard this patch.
src/Entities/Definitions/AttributeDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
     /**
200 200
      * Setter method for the $defaultValue property
201 201
      *
202
-     * @param mixed $defaultValue Default value of the attribute
202
+     * @param string|null $defaultValue Default value of the attribute
203 203
      *
204 204
      * @return null
205 205
      */
Please login to merge, or discard this patch.
src/Entities/Pointcuts/PointcutPointcut.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
     /**
104 104
      * Getter for the $referencedPointcuts property
105 105
      *
106
-     * @return array
106
+     * @return \AppserverIo\Doppelgaenger\Interfaces\PointcutInterface[]
107 107
      */
108 108
     public function getReferencedPointcuts()
109 109
     {
Please login to merge, or discard this patch.
src/Generator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -454,7 +454,7 @@
 block discarded – undo
454 454
      *
455 455
      * @param string $structureName The structure we want the cache path for
456 456
      *
457
-     * @return boolean|string
457
+     * @return false|string
458 458
      */
459 459
     public function getFileName($structureName)
460 460
     {
Please login to merge, or discard this patch.
src/Parser/AbstractStructureParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
     /**
218 218
      * Will check the main token array for the occurrence of a certain on (class, interface or trait)
219 219
      *
220
-     * @return string|boolean
220
+     * @return string|false
221 221
      */
222 222
     protected function getStructureToken()
223 223
     {
Please login to merge, or discard this patch.
src/Parser/FunctionParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
      * @param array   $tokens       The token array
67 67
      * @param boolean $getRecursive Do we have to get the ancestral contents as well?
68 68
      *
69
-     * @return boolean|\AppserverIo\Doppelgaenger\Entities\Lists\FunctionDefinitionList
69
+     * @return FunctionDefinitionList
70 70
      */
71 71
     public function getDefinitionListFromTokens(array $tokens, $getRecursive = true)
72 72
     {
Please login to merge, or discard this patch.
src/Parser/InterfaceParser.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,6 @@
 block discarded – undo
21 21
 namespace AppserverIo\Doppelgaenger\Parser;
22 22
 
23 23
 use AppserverIo\Doppelgaenger\Entities\Definitions\InterfaceDefinition;
24
-use AppserverIo\Doppelgaenger\Entities\Definitions\FileDefinition;
25
-use AppserverIo\Doppelgaenger\Entities\Lists\StructureDefinitionList;
26 24
 use AppserverIo\Doppelgaenger\Exceptions\GeneratorException;
27 25
 use AppserverIo\Psr\MetaobjectProtocol\Dbc\Annotations\Invariant;
28 26
 
Please login to merge, or discard this patch.
src/StreamFilters/AbstractFilter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 namespace AppserverIo\Doppelgaenger\StreamFilters;
22 22
 
23 23
 use AppserverIo\Doppelgaenger\Interfaces\StreamFilterInterface;
24
-use Monolog\Handler\error_log;
25 24
 
26 25
 /**
27 26
  * This abstract class provides a clean parent class for custom stream filters
Please login to merge, or discard this patch.
src/StreamFilters/AdviceFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
      * @param string $bucketData   Reference on the current bucket's data
229 229
      * @param string $functionName Name of the function to inject the advices into
230 230
      *
231
-     * @return boolean
231
+     * @return boolean|null
232 232
      */
233 233
     protected function injectResultInjection(& $bucketData, $functionName)
234 234
     {
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      * @param string $bucketData   Reference on the current bucket's data
248 248
      * @param string $functionName Name of the function to inject the advices into
249 249
      *
250
-     * @return boolean
250
+     * @return boolean|null
251 251
      */
252 252
     protected function injectExceptionInjection(& $bucketData, $functionName)
253 253
     {
Please login to merge, or discard this patch.