Skip to content

Commit 6916725

Browse files
jmikolaalcaeus
andcommitted
Apply suggestions from code review
Co-authored-by: Andreas Braun <[email protected]>
1 parent d69fdfc commit 6916725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/UnifiedSpecTests/EventObserver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ private function handleEvent($event): void
299299
}
300300

301301
/** @param CommandStartedEvent|CommandSucceededEvent|CommandFailedEvent $event */
302-
private function isSensistiveCommand($event): bool
302+
private function isSensitiveCommand($event): bool
303303
{
304304
if (isset(self::$sensitiveCommands[$event->getCommandName()])) {
305305
return true;
@@ -312,7 +312,7 @@ private function isSensistiveCommand($event): bool
312312
if (isset(self::$sensitiveCommandsWithSpeculativeAuthenticate[$event->getCommandName()])) {
313313
$commandOrReply = $event instanceof CommandStartedEvent ? $event->getCommand() : $event->getReply();
314314

315-
return ((array) $commandOrReply === []);
315+
return (array) $commandOrReply === [];
316316
}
317317

318318
return false;

0 commit comments

Comments
 (0)