@@ -49,6 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Thrown when attachment views widget source, height, width is not provided or invalid. |
| 51 | 51 | * |
| 52 | + * @param string $exception |
|
| 52 | 53 | * @return static |
| 53 | 54 | */ |
| 54 | 55 | public static function flockAttachmentViewWidgetException($exception) |
@@ -59,6 +60,7 @@ discard block |
||
| 59 | 60 | /** |
| 60 | 61 | * Thrown when attachment views inline html source, height, width is not provided or invalid. |
| 61 | 62 | * |
| 63 | + * @param string $exception |
|
| 62 | 64 | * @return static |
| 63 | 65 | */ |
| 64 | 66 | public static function flockAttachmentViewHtmlException($exception) |
@@ -69,6 +71,7 @@ discard block |
||
| 69 | 71 | /** |
| 70 | 72 | * Thrown when attachment views image source, height, width is not provided or invalid. |
| 71 | 73 | * |
| 74 | + * @param string $exception |
|
| 72 | 75 | * @return static |
| 73 | 76 | */ |
| 74 | 77 | public static function flockAttachmentViewImageException($exception) |
@@ -79,6 +82,7 @@ discard block |
||
| 79 | 82 | /** |
| 80 | 83 | * Thrown when attachment URL field not provided or invalid. |
| 81 | 84 | * |
| 85 | + * @param string $exception |
|
| 82 | 86 | * @return static |
| 83 | 87 | */ |
| 84 | 88 | public static function flockAttachmentUrlException($exception) |
@@ -89,6 +93,7 @@ discard block |
||
| 89 | 93 | /** |
| 90 | 94 | * Thrown when attachment forward field is non boolean. |
| 91 | 95 | * |
| 96 | + * @param string $exception |
|
| 92 | 97 | * @return static |
| 93 | 98 | */ |
| 94 | 99 | public static function flockAttachmentForwardException($exception) |
@@ -99,6 +104,7 @@ discard block |
||
| 99 | 104 | /** |
| 100 | 105 | * Thrown when attachment download field source is invalid or missing. |
| 101 | 106 | * |
| 107 | + * @param string $exception |
|
| 102 | 108 | * @return static |
| 103 | 109 | */ |
| 104 | 110 | public static function flockAttachmentDownloadException($exception) |
@@ -109,6 +115,7 @@ discard block |
||
| 109 | 115 | /** |
| 110 | 116 | * Thrown when attachment button field has an error. |
| 111 | 117 | * |
| 118 | + * @param string $exception |
|
| 112 | 119 | * @return static |
| 113 | 120 | */ |
| 114 | 121 | public static function flockAttachmentButtonException($exception) |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace NotificationChannels\Flock; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\Log; |
|
| 6 | 5 | use GuzzleHttp\Client as HttpClient; |
| 7 | 6 | use GuzzleHttp\Exception\ClientException; |
| 7 | +use Illuminate\Support\Facades\Log; |
|
| 8 | 8 | use NotificationChannels\Flock\Exceptions\CouldNotSendNotification; |
| 9 | 9 | |
| 10 | 10 | class Flock |