Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Minor param overflow #4423

Closed
wants to merge 3 commits into from
Closed

Minor param overflow #4423

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented May 5, 2013

SessionContainer::setExpirationHops
only takes 2 params, 3 still provided in various locations.
More a beauty thing perhaps.

h3lpd3sk added 2 commits May 3, 2013 01:45
Needs to be Interface typecase
setExpirationHops method was changed and now only takes 2 params.
Three where still provided in various locations.
@@ -24,7 +24,7 @@ class Sql
/** @var Platform\Platform */
protected $sqlPlatform = null;

public function __construct(AdapterInterface $adapter, $table = null, Platform\AbstractPlatform $sqlPlatform = null)
public function __construct(AdapterInterface $adapter, $table = null, PlatformInterface $sqlPlatform = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be a seperate PR

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry new to this not sure how yet...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just revert this change, push to your remote, and this PR is updated.

For your change, please create a fresh branch and push it to your remote again.

@ghost ghost mentioned this pull request May 6, 2013
@ghost
Copy link
Author

ghost commented May 6, 2013

Better now I hope?
Thanks for the explanation!
Still a bit abracadabra but getting there 👍

@prolic
Copy link
Contributor

prolic commented May 6, 2013

PR 4429 and PR 4423 are identical?

@ghost
Copy link
Author

ghost commented May 6, 2013

I reverted the mistaken PR
Pushed to server, then created a branch.
And last made PR from branch.
Like suggested at least what I understood you said?

@prolic
Copy link
Contributor

prolic commented May 6, 2013

Well, perhabs my english is not good enough, I try to explain again:
You like to fix 2 different issues. So please create 2 distinct branches, push both on your remote repository (github) and create 2 PR from those 2 different branches.

One branch contains the setExpirationHops fix, the other one will care about the typehint in Sql.

Currently you have two PR's both taking care of setExpirationHops.

@ghost ghost assigned weierophinney May 6, 2013
weierophinney added a commit that referenced this pull request May 6, 2013
weierophinney added a commit that referenced this pull request May 6, 2013
weierophinney added a commit to zendframework/zend-captcha that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-captcha that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-captcha that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-validator that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants