Skip to content

Commit

Permalink
Merge pull request #63 from Vinelab/update/add-support-for-php7.4-and…
Browse files Browse the repository at this point in the history
…-laravel-7

Update/add support for php7.4 and laravel 7
  • Loading branch information
Mulkave authored Aug 6, 2020
2 parents 2a35469 + 1b39bf6 commit 9ea2466
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ php:
- 7.1
- 7.2
- 7.3
- 7.4
before_script: composer install
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"require": {
"php": ">=7.0",
"php-amqplib/php-amqplib": "v2.8.1",
"illuminate/console": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6",
"illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6",
"illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6",
"illuminate/console": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7",
"illuminate/support": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7",
"illuminate/filesystem": "5.4.*|5.5.*|5.6.*|5.7.*|5.8.* || ^6 || ^7",
"vinelab/http": "^1.5"
},

Expand Down
2 changes: 1 addition & 1 deletion src/Traits/AdminTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ trait AdminTrait
*/
public function deleteExchange($exchangeName, $unused = true)
{
$this->connection->getChannel()->exchange_delete($queueName, $unused, $empty);
$this->connection->getChannel()->exchange_delete($exchangeName, $unused);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/CompileParametersTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ private function compileParameters()
'exchangeName' => property_exists($this, 'exchangeName') ? $this->exchangeName : null,
'exchangeType' => property_exists($this, 'exchangeType') ? $this->exchangeType : null,
'passive' => property_exists($this, 'passive') ? $this->passive : null,
'durable' => property_exists($this, 'durabel') ? $this->durable : null,
'durable' => property_exists($this, 'durable') ? $this->durable : null,
'autoDelete' => property_exists($this, 'autoDelete') ? $this->autoDelete : null,
'deliveryMode' => property_exists($this, 'deliveryMode') ? $this->deliveryMode : null,
];
Expand Down

0 comments on commit 9ea2466

Please sign in to comment.