You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!$this->receiverLocator->has($receiverName = $input->getArgument('receiver'))) {
89
+
$receiverName = $input->getArgument('receiver');
90
+
91
+
if (empty($receiverName)) {
92
+
$receiverName = '.default';
93
+
94
+
if (!$this->receiverLocator->has($receiverName)) {
95
+
thrownew \RuntimeException('You have 0 or more than one receiver (no default have been found). You need to specify the receiver name with an argument.');
96
+
}
97
+
}
98
+
99
+
if (!$this->receiverLocator->has($receiverName)) {
90
100
thrownew \RuntimeException(sprintf('Receiver "%s" does not exist.', $receiverName));
0 commit comments