@@ -401,7 +401,7 @@ |
||
| 401 | 401 | /** |
| 402 | 402 | * Attempts to create a slack\Attachment instance based on the $attachment data given. |
| 403 | 403 | * |
| 404 | - * @param mixed $attachment |
|
| 404 | + * @param callable $attachment |
|
| 405 | 405 | * @return mixed Either an instantiated slack\Attachment, or a passthrough of the input data. |
| 406 | 406 | */ |
| 407 | 407 | protected function resolveAttachment($attachment) |
@@ -705,7 +705,7 @@ |
||
| 705 | 705 | } |
| 706 | 706 | |
| 707 | 707 | throw new \InvalidArgumentException("Expected an array or an instance of ".attachment\Action::class.", got [".diagnostics\Debug::getTypeName($action)."] instead."); |
| 708 | - } |
|
| 708 | + } |
|
| 709 | 709 | |
| 710 | 710 | /** |
| 711 | 711 | * {@inheritDoc} |