1 | <?php |
||
10 | class ReturnTypeTemplate implements TemplateInterface |
||
11 | { |
||
12 | private const TEMPLATE = ': %s%s'; |
||
13 | |||
14 | /** |
||
15 | * @param \Reflector|\ReflectionMethod $method |
||
16 | * @return string |
||
17 | */ |
||
18 | 7 | public static function generate(\Reflector $method): string |
|
22 | |||
23 | /** |
||
24 | * @param \ReflectionMethod $method |
||
25 | * @return string |
||
26 | */ |
||
27 | 7 | protected static function doGenerate(\ReflectionMethod $method): string |
|
44 | } |
||
45 |