File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace TypeLang \Reader ;
6
6
7
- use TypeLang \Parser \Parser ;
8
7
use TypeLang \Parser \Node \Stmt \TypeStatement ;
8
+ use TypeLang \Parser \Parser ;
9
9
use TypeLang \Parser \ParserInterface ;
10
10
use TypeLang \Reader \AttributeReader \AttributeProviderInterface ;
11
11
use TypeLang \Reader \AttributeReader \DefaultAttributeProvider ;
@@ -24,6 +24,7 @@ public function __construct(
24
24
25
25
/**
26
26
* @param \ReflectionProperty|\ReflectionParameter|\ReflectionFunctionAbstract|\ReflectionClassConstant $reflector
27
+ *
27
28
* @throws TypeReadingException
28
29
*/
29
30
private function tryRead (\Reflector $ reflector ): ?TypeStatement
Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ public function findParameterType(\ReflectionParameter $parameter): ?TypeStateme
86
86
}
87
87
88
88
/**
89
- * @throws ReaderExceptionInterface
90
- * @throws UnrecognizedReflectionTypeException
91
89
* @api
92
90
*
91
+ * @throws ReaderExceptionInterface
92
+ * @throws UnrecognizedReflectionTypeException
93
93
*/
94
94
public function getType (\ReflectionType $ type ): TypeStatement
95
95
{
You can’t perform that action at this time.
0 commit comments