-
-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Printer::setTypeResolving() adds ability to print uresolved code [Closes
#31]
- Loading branch information
Showing
5 changed files
with
55 additions
and
5 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
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
21 changes: 21 additions & 0 deletions
21
tests/PhpGenerator/expected/Printer.namespace.unresolved.expect
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,21 @@ | ||
namespace Foo; | ||
|
||
use Bar\C; | ||
use Foo\D as E; | ||
|
||
/** | ||
* Description of class. | ||
* This is example | ||
*/ | ||
final class A extends ParentClass implements IExample, Foo\IOne | ||
{ | ||
use Foo\ObjectTrait; | ||
|
||
/** | ||
* @return resource | ||
*/ | ||
final public function first(Bar\C $var): stdClass | ||
{ | ||
return $this->handle; | ||
} | ||
} |