@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | { |
88 | 88 | if (trim($matches[1]) === 'formats') { |
89 | 89 | $formats = $this->getFormats(); |
90 | - $msg->reply('Available formats: ' . implode(' ', $formats)); |
|
90 | + $msg->reply('Available formats: '.implode(' ', $formats)); |
|
91 | 91 | $msg->setHandled(true); |
92 | 92 | return; |
93 | 93 | } |
@@ -97,10 +97,10 @@ discard block |
||
97 | 97 | $format = $this->getFormat($terms); |
98 | 98 | |
99 | 99 | $this->giphyService->search($query, $format)->then( |
100 | - function (string $gifUrl) use ($msg) { |
|
100 | + function(string $gifUrl) use ($msg) { |
|
101 | 101 | $msg->reply($gifUrl); |
102 | 102 | }, |
103 | - function (Exception $e) { |
|
103 | + function(Exception $e) { |
|
104 | 104 | $this->getLog()->warning($e->getMessage()); |
105 | 105 | } |
106 | 106 | ); |
@@ -144,6 +144,6 @@ discard block |
||
144 | 144 | { |
145 | 145 | $default = $this->getDefaultFormat(); |
146 | 146 | |
147 | - return $this->get('formats', [$default]);; |
|
147 | + return $this->get('formats', [$default]); ; |
|
148 | 148 | } |
149 | 149 | } |
150 | 150 | \ No newline at end of file |