浏览代码

[std] fix doc generation for php.Generator

closes HaxeFoundation/dox#271
Jens Fischer 5 年之前
父节点
当前提交
a5cbd5a497
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      std/php/Generator.hx

+ 2 - 2
std/php/Generator.hx

@@ -23,8 +23,6 @@
 package php;
 
 /**
-	@see http://php.net/manual/en/class.generator.php
-
 	Generator is not a Haxe Iterable. It can be iterated one time only.
 	Unfortunately Haxe does not know that in PHP generators may have no `return` expression or `return value` with any type of `value`.
 	Use `return null` or untyped cast to workaround this issue:
@@ -45,6 +43,8 @@ package php;
 	}
 	trace(g.getReturn()); // "hello"
 	```
+
+	@see http://php.net/manual/en/class.generator.php
 **/
 @:native('Generator')
 extern class Generator {