Skip to content
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

Add new functions to batch messages #9

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

richardhughes
Copy link
Contributor

No description provided.

@codecov-io
Copy link

codecov-io commented Sep 13, 2019

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             master     #9   +/-   ##
=======================================
  Coverage       100%   100%           
  Complexity       58     58           
=======================================
  Files             8      8           
  Lines           151    149    -2     
=======================================
- Hits            151    149    -2
Impacted Files Coverage Δ Complexity Δ
src/Connector/RabbitMQ.php 100% <ø> (ø) 14 <0> (ø) ⬇️
src/Connector/SQS.php 100% <ø> (ø) 21 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7728565...53691cb. Read the comment docs.

@@ -95,6 +109,19 @@ public function setQueueOptions(array $queueOptions) : void
}
}

/**
* @param string[] $message
Copy link
Contributor

Choose a reason for hiding this comment

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

This this type hint correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope :( Should be array[] - I'll fix it 👍 - Just writing some tests around this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yeah sorry, this one is correct, the parameters for the batch message function wasn't - it should be string[][] $messages which I've updated :)

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

Successfully merging this pull request may close these issues.

3 participants