Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-lmi authored and nekufa committed Jul 26, 2022
1 parent eb75e5e commit 7b83d69
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ vendor
# Editor files
*.bak
.idea
.php-cs-fixer.cache
.php-cs-fixer.cache
2 changes: 1 addition & 1 deletion src/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

abstract class Authenticator
{
public abstract function sign(string $nonce): string;
abstract public function sign(string $nonce): string;

public static function create(Configuration $configuration): ?self
{
Expand Down
2 changes: 1 addition & 1 deletion src/KeyValue/Bucket.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function getStream(): Stream

if (!$this->stream->exists()) {
$this->getConfiguration()
->configureStream($this->stream->getConfiguration());
->configureStream($this->stream->getConfiguration());

$this->stream->create();
}
Expand Down
3 changes: 2 additions & 1 deletion tests/Functional/SubjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public function testSubscribeQueue()
};
$setter->call($client, $memoryStream);

$client->subscribeQueue('subject', 'group', function () {});
$client->subscribeQueue('subject', 'group', function () {
});

$content = stream_get_contents($memoryStream, -1, 0);

Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Message/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public function testInfo()
"domain" => "domain"
];
$infoString = "INFO " . json_encode($infoData);

$message = Factory::create($infoString);

$this->assertEquals(Info::class, get_class($message));
}
}
3 changes: 2 additions & 1 deletion tests/Utils/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
use Psr\Log\LoggerInterface;
use ReflectionClass;

trait Logger {
trait Logger
{
protected ?LoggerInterface $logger = null;

public function getLogger(): LoggerInterface
Expand Down

0 comments on commit 7b83d69

Please sign in to comment.