You've already forked lubo_comment_query
							
							规范验证
This commit is contained in:
		| @@ -6,10 +6,10 @@ use SplFileInfo; | ||||
| 
 | ||||
| class DanmakuUtil | ||||
| { | ||||
|     public static function parse_danmaku(SplFileInfo $file): array | ||||
|     public static function parse_danmaku(string $file): array | ||||
|     { | ||||
|         $document = new \DOMDocument(); | ||||
|         $document->load($file->getRealPath()); | ||||
|         $document->load($file); | ||||
|         $danmaku_items = $document->getElementsByTagName("d"); | ||||
|         $result = []; | ||||
|         /** @var \DOMNode $item */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user