-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FileSystem: messages use normalized paths (#250)
Co-authored-by: David Grudl <[email protected]> Co-authored-by: Karel Horský <[email protected]>
- Loading branch information
1 parent
32809e8
commit 6123489
Showing
3 changed files
with
62 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
/** | ||
* Test: Nette\Utils\Reflection::getReturnType | ||
* @phpversion 7 | ||
*/ | ||
|
||
require __DIR__ . '/../bootstrap.php'; | ||
|
||
class FunctionReflection | ||
{ | ||
} | ||
|
||
interface FunctionReflectionFactory | ||
{ | ||
|
||
public function create( | ||
\ReflectionFunction $reflection, | ||
array $phpDocParameterTypes | ||
): FunctionReflection|string; | ||
|
||
} | ||
|
||
dump(Nette\Utils\Reflection::getReturnType(new \ReflectionMethod(FunctionReflectionFactory::class, 'create'))); |