openswoole / ide-helper

Open Swoole IDE Helper for VScode etc IDE [READ ONLY]
https://packagist.org/packages/openswoole/ide-helper
50 stars 8 forks source link

Wrong namespaces in PHPDoc #22

Closed Sweetchuck closed 1 year ago

Sweetchuck commented 1 year ago

Actual: \Swoole\WebSocket\Frame Expected: \OpenSwoole\WebSocket\Frame

https://github.com/openswoole/ide-helper/blob/master/src/OpenSwoole/WebSocket/Server.php#L85

git grep --line-number '\\Swoole\\'

src/OpenSwoole/Coroutine.php:126: return \Swoole\Coroutine\Context|null src/OpenSwoole/Coroutine.php:166: return \Swoole\Coroutine\Iterator src/OpenSwoole/Coroutine.php:173: return \Swoole\Coroutine\Iterator src/OpenSwoole/WebSocket/Frame.php:30: param \Swoole\WebSocket\Frame|string $data src/OpenSwoole/WebSocket/Frame.php:37: return \Swoole\WebSocket\Frame|false src/OpenSwoole/WebSocket/Server.php:70: param \Swoole\WebSocket\Frame|string $data src/OpenSwoole/WebSocket/Server.php:85: param \Swoole\WebSocket\Frame|string $data src/OpenSwoole/WebSocket/Server.php:92: return \Swoole\WebSocket\Frame|false