@@ -97,6 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * Initialize the filesystem abstraction. |
| 99 | 99 | * |
| 100 | + * @param string $path |
|
| 100 | 101 | * @return Flightcontrol |
| 101 | 102 | */ |
| 102 | 103 | public function init_flightcontrol($path) { |
@@ -190,7 +191,6 @@ discard block |
||
| 190 | 191 | |
| 191 | 192 | /** |
| 192 | 193 | * @param string $which |
| 193 | - * @param \PhpParser\Node $node |
|
| 194 | 194 | */ |
| 195 | 195 | protected function call_misc_listener($which) { |
| 196 | 196 | $listeners = &$this->$which; |
@@ -210,7 +210,6 @@ discard block |
||
| 210 | 210 | * @param string $which |
| 211 | 211 | * @param string $type |
| 212 | 212 | * @param int $type |
| 213 | - * @param \PhpParser\Node|null $node |
|
| 214 | 213 | */ |
| 215 | 214 | protected function call_definition_listener($which, $type, $id) { |
| 216 | 215 | $listeners = &$this->$which; |
@@ -43,6 +43,10 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | protected $current_node = null; |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param string $file_name |
|
| 48 | + * @param string $file_content |
|
| 49 | + */ |
|
| 46 | 50 | public function __construct($file_name, $file_content) { |
| 47 | 51 | assert('is_string($file_name)'); |
| 48 | 52 | assert('is_string($file_content)'); |
@@ -83,7 +87,7 @@ discard block |
||
| 83 | 87 | } |
| 84 | 88 | |
| 85 | 89 | /** |
| 86 | - * @return int |
|
| 90 | + * @return double |
|
| 87 | 91 | */ |
| 88 | 92 | public function column() { |
| 89 | 93 | assert('$this->current_node !== null'); |