@@ -267,7 +267,7 @@ discard block |
||
267 | 267 | /** |
268 | 268 | * Returns all {@link \PDepend\Source\AST\ASTMethod} objects in this type. |
269 | 269 | * |
270 | - * @return \PDepend\Source\AST\ASTMethod[] |
|
270 | + * @return ASTArtifactList |
|
271 | 271 | */ |
272 | 272 | public function getMethods() |
273 | 273 | { |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | * names of all those properties that should be cached for this class or |
454 | 454 | * interface instance. |
455 | 455 | * |
456 | - * @return array |
|
456 | + * @return string[] |
|
457 | 457 | */ |
458 | 458 | public function __sleep() |
459 | 459 | { |
@@ -93,7 +93,7 @@ |
||
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 | { |
@@ -116,7 +116,7 @@ |
||
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() |
@@ -65,8 +65,8 @@ |
||
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) |
@@ -121,7 +121,7 @@ |
||
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() |
@@ -57,9 +57,9 @@ |
||
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) |
@@ -117,7 +117,7 @@ |
||
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 | { |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Create a TextUi Runner |
207 | 207 | * |
208 | - * @return Runner |
|
208 | + * @return TextUI\Runner |
|
209 | 209 | */ |
210 | 210 | protected function createTextUiRunner() |
211 | 211 | { |
@@ -560,6 +560,9 @@ discard block |
||
560 | 560 | return new Engine($configuration, $cacheFactory, $analyzerFactory); |
561 | 561 | } |
562 | 562 | |
563 | + /** |
|
564 | + * @param TextUI\Runner $runner |
|
565 | + */ |
|
563 | 566 | protected function silentRun($runner) |
564 | 567 | { |
565 | 568 | ob_start(); |
@@ -808,7 +811,7 @@ discard block |
||
808 | 811 | * Parses the test code associated with the calling test method. |
809 | 812 | * |
810 | 813 | * @param boolean $ignoreAnnotations The parser should ignore annotations. |
811 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
814 | + * @return Source\AST\ASTArtifactList |
|
812 | 815 | */ |
813 | 816 | protected function parseCodeResourceForTest($ignoreAnnotations = false) |
814 | 817 | { |
@@ -824,7 +827,7 @@ discard block |
||
824 | 827 | * |
825 | 828 | * @param string $testCase |
826 | 829 | * @param boolean $ignoreAnnotations |
827 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
830 | + * @return Source\AST\ASTArtifactList |
|
828 | 831 | */ |
829 | 832 | public function parseTestCaseSource($testCase, $ignoreAnnotations = false) |
830 | 833 | { |
@@ -848,7 +851,7 @@ discard block |
||
848 | 851 | * |
849 | 852 | * @param string $fileOrDirectory |
850 | 853 | * @param boolean $ignoreAnnotations |
851 | - * @return \PDepend\Source\AST\ASTNamespace[] |
|
854 | + * @return Source\AST\ASTArtifactList |
|
852 | 855 | */ |
853 | 856 | public function parseSource($fileOrDirectory, $ignoreAnnotations = false) |
854 | 857 | { |
@@ -58,7 +58,7 @@ |
||
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 | { |