Completed
Pull Request — master (#372)
by Jakub
07:44
created
src/test/php/PDepend/AbstractTest.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     /**
210 210
      * Create a TextUi Runner
211 211
      *
212
-     * @return Runner
212
+     * @return TextUI\Runner
213 213
      */
214 214
     protected function createTextUiRunner()
215 215
     {
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
     }
541 541
 
542 542
     /**
543
-     * @return \PDepend\Util\Cache\CacheDriver
543
+     * @return \PHPUnit\Framework\MockObject\MockObject
544 544
      */
545 545
     protected function createCacheFixture()
546 546
     {
@@ -572,6 +572,9 @@  discard block
 block discarded – undo
572 572
         return new Engine($configuration, $cacheFactory, $analyzerFactory);
573 573
     }
574 574
 
575
+    /**
576
+     * @param TextUI\Runner $runner
577
+     */
575 578
     protected function silentRun($runner)
576 579
     {
577 580
         ob_start();
@@ -822,7 +825,7 @@  discard block
 block discarded – undo
822 825
      * Parses the test code associated with the calling test method.
823 826
      *
824 827
      * @param boolean $ignoreAnnotations The parser should ignore annotations.
825
-     * @return \PDepend\Source\AST\ASTNamespace[]
828
+     * @return Source\AST\ASTArtifactList
826 829
      */
827 830
     protected function parseCodeResourceForTest($ignoreAnnotations = false)
828 831
     {
@@ -841,7 +844,7 @@  discard block
 block discarded – undo
841 844
      *
842 845
      * @param string $testCase
843 846
      * @param boolean $ignoreAnnotations
844
-     * @return \PDepend\Source\AST\ASTNamespace[]
847
+     * @return Source\AST\ASTArtifactList
845 848
      */
846 849
     public function parseTestCaseSource($testCase, $ignoreAnnotations = false)
847 850
     {
@@ -865,7 +868,7 @@  discard block
 block discarded – undo
865 868
      *
866 869
      * @param string  $fileOrDirectory
867 870
      * @param boolean $ignoreAnnotations
868
-     * @return \PDepend\Source\AST\ASTNamespace[]
871
+     * @return Source\AST\ASTArtifactList
869 872
      */
870 873
     public function parseSource($fileOrDirectory, $ignoreAnnotations = false)
871 874
     {
Please login to merge, or discard this patch.