Completed
Push — master ( 48cfde...0c6030 )
by Dan
06:26
created
src/Giphy/GiphyPlugin.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.