@@ -259,8 +259,8 @@ discard block |
||
259 | 259 | /** |
260 | 260 | * Set the color to use for the attachment |
261 | 261 | * |
262 | - * @param string $colour |
|
263 | - * @return void |
|
262 | + * @param string $color |
|
263 | + * @return Attachment |
|
264 | 264 | */ |
265 | 265 | public function setColor($color) |
266 | 266 | { |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | * Set the title to use for the attachment |
284 | 284 | * |
285 | 285 | * @param string $title |
286 | - * @return void |
|
286 | + * @return Attachment |
|
287 | 287 | */ |
288 | 288 | public function setTitle($title) |
289 | 289 | { |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | * Set the title link to use for the attachment |
307 | 307 | * |
308 | 308 | * @param string $title_link |
309 | - * @return void |
|
309 | + * @return Attachment |
|
310 | 310 | */ |
311 | 311 | public function setTitleLink($title_link) |
312 | 312 | { |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | * Set the author name to use for the attachment |
330 | 330 | * |
331 | 331 | * @param string $author_name |
332 | - * @return void |
|
332 | + * @return Attachment |
|
333 | 333 | */ |
334 | 334 | public function setAuthorName($author_name) |
335 | 335 | { |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | * Set the auhtor link to use for the attachment |
353 | 353 | * |
354 | 354 | * @param string $author_link |
355 | - * @return void |
|
355 | + * @return Attachment |
|
356 | 356 | */ |
357 | 357 | public function setAuthorLink($author_link) |
358 | 358 | { |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | * Set the author icon to use for the attachment |
376 | 376 | * |
377 | 377 | * @param string $author_icon |
378 | - * @return void |
|
378 | + * @return Attachment |
|
379 | 379 | */ |
380 | 380 | public function setAuthorIcon($author_icon) |
381 | 381 | { |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * Set the fields for the attachment |
398 | 398 | * |
399 | 399 | * @param array $fields |
400 | - * @return void |
|
400 | + * @return Attachment |
|
401 | 401 | */ |
402 | 402 | public function setFields(array $fields) |
403 | 403 | { |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | * Set the icon (either URL or emoji) we will post as. |
177 | 177 | * |
178 | 178 | * @param string $icon |
179 | - * @return this |
|
179 | + * @return null|Message |
|
180 | 180 | */ |
181 | 181 | public function setIcon($icon) |
182 | 182 | { |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | * Slack's Markdown-like language |
229 | 229 | * |
230 | 230 | * @param boolean $value |
231 | - * @return void |
|
231 | + * @return Message |
|
232 | 232 | */ |
233 | 233 | public function setAllowMarkdown($value) |
234 | 234 | { |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Enable Markdown formatting for the message |
242 | 242 | * |
243 | - * @return void |
|
243 | + * @return Message |
|
244 | 244 | */ |
245 | 245 | public function enableMarkdown() |
246 | 246 | { |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | /** |
253 | 253 | * Disable Markdown formatting for the message |
254 | 254 | * |
255 | - * @return void |
|
255 | + * @return Message |
|
256 | 256 | */ |
257 | 257 | public function disableMarkdown() |
258 | 258 | { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | * in Slack's Markdown-like language |
278 | 278 | * |
279 | 279 | * @param array $fields |
280 | - * @return void |
|
280 | + * @return Message |
|
281 | 281 | */ |
282 | 282 | public function setMarkdownInAttachments(array $fields) |
283 | 283 | { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | /** |
56 | 56 | * Return the service provider for the particular Laravel version |
57 | 57 | * |
58 | - * @return mixed |
|
58 | + * @return SlackServiceProviderLaravel4 |
|
59 | 59 | */ |
60 | 60 | private function getProvider() |
61 | 61 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Get the services provided by the provider. |
81 | 81 | * |
82 | - * @return array |
|
82 | + * @return string[] |
|
83 | 83 | */ |
84 | 84 | public function provides() |
85 | 85 | { |