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

typos2 #41

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Kdyby/RabbitMq/AmqpMember.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ abstract class AmqpMember extends Nette\Object
{

/**
* @var Connection
* @var IConnection
*/
protected $conn;

Expand Down Expand Up @@ -94,10 +94,10 @@ abstract class AmqpMember extends Nette\Object


/**
* @param Connection $conn
* @param IConnection $conn
* @param string $consumerTag
*/
public function __construct(Connection $conn, $consumerTag = null)
public function __construct(IConnection $conn, $consumerTag = null)
Copy link
Member

Choose a reason for hiding this comment

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

That would break the contact of the interface. Why is this needed?

Copy link
Author

Choose a reason for hiding this comment

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

{
$this->conn = $conn;
$this->consumerTag = empty($consumerTag) ? sprintf("PHPPROCESS_%s_%s", gethostname(), getmypid()) : $consumerTag;
Expand Down