Completed
Push — master ( 3273c7...1ca3a8 )
by Marc
21s queued 17s
created
src/main/php/PDepend/Source/AST/AbstractASTCallable.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      * Returns all {@link \PDepend\Source\AST\AbstractASTClassOrInterface}
257 257
      * objects this function depends on.
258 258
      *
259
-     * @return \PDepend\Source\AST\AbstractASTClassOrInterface[]
259
+     * @return ASTClassOrInterfaceReferenceIterator
260 260
      */
261 261
     public function getDependencies()
262 262
     {
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      * Returns an iterator with thrown exception
351 351
      * {@link \PDepend\Source\AST\AbstractASTClassOrInterface} instances.
352 352
      *
353
-     * @return \PDepend\Source\AST\AbstractASTClassOrInterface[]
353
+     * @return ASTClassOrInterfaceReferenceIterator
354 354
      */
355 355
     public function getExceptionClasses()
356 356
     {
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      * gets serialized. It returns an array with those properties that should be
483 483
      * cached for all callable instances.
484 484
      *
485
-     * @return array
485
+     * @return string[]
486 486
      * @since  0.10.0
487 487
      */
488 488
     public function __sleep()
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTClass.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
     /**
94 94
      * Returns all properties for this class.
95 95
      *
96
-     * @return \PDepend\Source\AST\ASTProperty[]
96
+     * @return ASTArtifactList
97 97
      */
98 98
     public function getProperties()
99 99
     {
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTClassOrInterfaceReference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      * Magic method which returns the names of all those properties that should
117 117
      * be cached for this node instance.
118 118
      *
119
-     * @return array
119
+     * @return string[]
120 120
      * @since  0.10.0
121 121
      */
122 122
     public function __sleep()
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTConditionalExpression.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@
 block discarded – undo
65 65
      * by a visitor during tree traversal.
66 66
      *
67 67
      * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor
68
-     * @param mixed $data
69
-     * @return mixed
68
+     * @param integer $data
69
+     * @return string
70 70
      * @since 0.9.12
71 71
      */
72 72
     public function accept(ASTVisitor $visitor, $data = null)
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTSelfReference.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
      * before an instance of this class gets serialized. It should return an
122 122
      * array with those property names that should be serialized for this class.
123 123
      *
124
-     * @return array
124
+     * @return string[]
125 125
      * @since  0.10.0
126 126
      */
127 127
     public function __sleep()
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTStatement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,9 +57,9 @@
 block discarded – undo
57 57
      * by a visitor during tree traversal.
58 58
      *
59 59
      * @param \PDepend\Source\ASTVisitor\ASTVisitor $visitor The calling visitor instance.
60
-     * @param mixed                                 $data
60
+     * @param integer                                 $data
61 61
      *
62
-     * @return mixed
62
+     * @return string
63 63
      * @since  0.9.12
64 64
      */
65 65
     public function accept(\PDepend\Source\ASTVisitor\ASTVisitor $visitor, $data = null)
Please login to merge, or discard this patch.
src/main/php/PDepend/Source/AST/ASTTraitAdaptationAlias.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      * before an instance of this class gets serialized. It should return an
118 118
      * array with those property names that should be serialized for this class.
119 119
      *
120
-     * @return array
120
+     * @return string[]
121 121
      */
122 122
     public function __sleep()
123 123
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/AbstractMetricsTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      *
59 59
      * @param string  $testCase
60 60
      * @param boolean $ignoreAnnotations
61
-     * @return \PDepend\Source\AST\ASTNamespace[]
61
+     * @return \PDepend\Source\AST\ASTArtifactList
62 62
      */
63 63
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
64 64
     {
Please login to merge, or discard this patch.
src/test/php/PDepend/Metrics/Analyzer/CodeRankAnalyzerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -466,6 +466,9 @@
 block discarded – undo
466 466
         return $this->getCodeRankOrReverseCodeRank('rcr', $options);
467 467
     }
468 468
 
469
+    /**
470
+     * @param string $metricName
471
+     */
469 472
     protected function getCodeRankOrReverseCodeRank($metricName, array $options = array())
470 473
     {
471 474
         $namespaces = $this->parseCodeResourceForTest();
Please login to merge, or discard this patch.