Skip to content

ErrorListener: Fixed wrong parameter being passed to the RuntimeException #14

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

Merged
merged 1 commit into from
Sep 16, 2013
Merged

Conversation

berni2288
Copy link

Fixed wrong exception throwing

PHP Error

Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in
\lib\Gitlab\HttpClient\Listener\ErrorListener.php on line 60

Request that throwed the error

// Gitlab throwed an error because the source and target branch are the same
$project->createMergeRequest("samebranchname", "samebranchname", "Some text");

m4tthumphrey added a commit that referenced this pull request Sep 16, 2013
ErrorListener: Fixed wrong parameter being passed to the RuntimeException
@m4tthumphrey m4tthumphrey merged commit 32d8c66 into GitLabPHP:master Sep 16, 2013
@m4tthumphrey
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants