Merge branch 'master' into 3.0-merge

This commit is contained in:
李铭昕 2021-12-24 17:25:42 +08:00
commit 64f35367f5
3 changed files with 13 additions and 13 deletions

View File

@ -22,8 +22,6 @@ jobs:
sw-version: 'v4.6.7'
- php-version: '8.1'
sw-version: 'v4.7.1'
- php-version: '8.1'
sw-version: 'v4.8.3'
max-parallel: 12
fail-fast: false
env:

View File

@ -8,8 +8,7 @@
<meta name="description" content="Hyperf框架官方文档">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="//hyperf.wiki/2.2/favicon.ico" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/sy-records/staticfile/css/docsify/vue.css">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
<link rel="stylesheet" href="//unpkg.com/docsify@4/themes/vue.css">
<style>
.app-name-link img {
width: 16%;
@ -19,10 +18,10 @@
<body>
<div id="app"></div>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/docsify.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-php.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github/index.js"></script>
<script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-php.min.js"></script>
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
<script src="//unpkg.com/mermaid/dist/mermaid.min.js"></script>
<script>
mermaid.initialize({ startOnLoad: false });
@ -119,10 +118,10 @@
}
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code@2/dist/docsify-copy-code.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
<script src="//unpkg.com/docsify-copy-code@2/dist/docsify-copy-code.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify-plantuml/dist/docsify-plantuml.min.js"></script>
<script src="//unpkg.com/docsify@4/lib/plugins/zoom-image.min.js"></script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1278274447'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/z_stat.php%3Fid%3D1278274447' type='text/javascript'%3E%3C/script%3E"));</script>
</body>

View File

@ -52,7 +52,10 @@ class AMQPConnection extends AbstractConnection
protected bool $exited = false;
protected Channel $chan;
/**
* @var Channel
*/
protected $chan;
public function __construct(
string $user,