Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc60e6b6

Browse files
bug#51336 [Notifier] [Pushover] Fix invalid method call + improve exception message (ahmedghanem00)
This PR was merged into the 6.3 branch.Discussion----------[Notifier] [Pushover] Fix invalid method call + improve exception message| Q | A| ------------- | ---| Branch? | 6.3| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets || License | MIT| Doc PR |Current code is calling `getContent()` method on an array instead of the real response objectCommits-------ccafda3 Fix invalid method call + improve exception message
2 parentsaba725f +ccafda3 commitc60e6b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Notifier/Bridge/Pushover/PushoverTransport.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected function doSend(MessageInterface $message): SentMessage
7777
$result =$response->toArray(false);
7878

7979
if (!isset($result['request'])) {
80-
thrownewTransportException(sprintf('Unable tosend thePushover push notification: "%s".',$result->getContent(false)),$response);
80+
thrownewTransportException(sprintf('Unable tofind themessage id within the Pushover response: "%s".',$response->getContent(false)),$response);
8181
}
8282

8383
$sentMessage =newSentMessage($message, (string)$this);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp