Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #210: Avoid duplicate references due to doc comments
- Loading branch information
Manuel Pichler
committed
Jan 6, 2017
1 parent
ee81e96
commit e81411f
Showing
4 changed files
with
60 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...es/Source/Language/PHP/PHPParserVersion53/testParserResolvesDependenciesInDocComments.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
use A\Dependent\Property; | ||
use A\Dependent\Exception; | ||
use A\Dependent\ReturnValue; | ||
|
||
class DependenciesInDocComments | ||
{ | ||
/** | ||
* @var Property | ||
*/ | ||
public $foo; | ||
|
||
/** | ||
* @param Dependency $x | ||
* @throws Exception | ||
* @return ReturnValue | ||
*/ | ||
public function foo($x) | ||
{ | ||
|
||
} | ||
} |