-
Notifications
You must be signed in to change notification settings - Fork 777
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fill Memcached::__construct()
parameters description
#4263
base: master
Are you sure you want to change the base?
Conversation
1ae2459
to
c5732d3
Compare
<methodsynopsis> | ||
<type>void</type><methodname><replaceable>callback</replaceable></methodname> | ||
<methodparam><type>Memcached</type><parameter>memcached</parameter></methodparam> | ||
<methodparam><type>string</type><parameter>persistent_id</parameter></methodparam> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the linked source code this should be string|null
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, I missed the if
. Not a pro of PHP extensions and C, but I would say you're right 😄 Updated
c5732d3
to
45b05e5
Compare
<methodsynopsis> | ||
<type>void</type><methodname><replaceable>callback</replaceable></methodname> | ||
<methodparam><type>Memcached</type><parameter>memcached</parameter></methodparam> | ||
<methodparam><type>string|null</type><parameter>persistent_id</parameter></methodparam> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have fun markup for this, so rather than <type>string|null</type>
here use <type class="union"><type>string</type><type>null</type></type>
instead.
Fix #4025