@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | { |
67 | 67 | if (trim($matches[1]) === 'formats') { |
68 | 68 | $formats = $this->getFormats(); |
69 | - $msg->reply('Available formats: ' . implode(' ', $formats)); |
|
69 | + $msg->reply('Available formats: '.implode(' ', $formats)); |
|
70 | 70 | $msg->setHandled(true); |
71 | 71 | return; |
72 | 72 | } |
@@ -76,10 +76,10 @@ discard block |
||
76 | 76 | $format = $this->getFormat($terms); |
77 | 77 | |
78 | 78 | $this->giphyService->search($query, $format)->then( |
79 | - function (string $gifUrl) use ($msg) { |
|
79 | + function(string $gifUrl) use ($msg) { |
|
80 | 80 | $msg->reply($gifUrl); |
81 | 81 | }, |
82 | - function (Exception $e) { |
|
82 | + function(Exception $e) { |
|
83 | 83 | $this->getLog()->warning($e->getMessage()); |
84 | 84 | } |
85 | 85 | ); |