-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Conversation
@@ -367,7 +367,7 @@ protected function prepareOptions(ZendLdap\Ldap $ldap, array $options) | |||
* @param string $canonicalName | |||
* @param string $dn | |||
* @param array $adapterOptions | |||
* @return string|true | |||
* @return bool|string |
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.
When this return false?
@samsonasik May is better stop a moment and share what rules are you intended to apply. |
@Maks3w based on #5860 , there are lot of suggested changes, but I just want to put that it appliable at zf2 and keep that it still support for consistencies, like @return self, @param bool instead of boolean like @weierophinney pointed at #3342 and #4436 (comment) . I have read the |
The
|
Rebased and merged manually - work can go on from here IMO |
@Ocramius I disagree with this. Fix may types but also remove other types allowed or expected to return. |
@Maks3w I agree that there may be imperfections, but the code was (in general) improved and functionally kept intact/unchanged, so I went on and merged this. I'd rather see additional fixes or cleanups (even if they fix these changes) rather than |
We should to have a criteria and don't change something just because some tool throws a warning. Think if the warning is correct or a false positive before change any code. |
@Maks3w I went through the diffs and I didn't (and still don't) see false positives tbh |
…e-cleanups' into develop Close zendframework/zendframework#5863
…e-cleanups' into develop Close zendframework/zendframework#5863
…e-cleanups' into develop Close zendframework/zendframework#5863
…e-cleanups' into develop Close zendframework/zendframework#5863
…e-cleanups' into develop Close zendframework/zendframework#5863
…e-cleanups' into develop Close zendframework/zendframework#5863
…tfix/5860_5863 Cache: better fix for zendframework/zendframework#5860 introduced in zendframework/zendframework#5863
patch #5860