Code Duplication    Length = 8-8 lines in 2 locations

app/Interfaces/Gitter/Client.php 1 location

@@ 272-279 (lines=8) @@
269
    /**
270
     * @param \Exception $e
271
     */
272
    protected function logException(\Exception $e)
273
    {
274
        \Log::error(
275
            $e->getMessage() . ' in ' . $e->getFile() . ':' . $e->getLine() . "\n" .
276
            $e->getTraceAsString() . "\n" .
277
            str_repeat('=', 80) . "\n"
278
        );
279
    }
280
281
    /**
282
     * @param RoomInterface $room

app/Interfaces/Slack/Client.php 1 location

@@ 172-179 (lines=8) @@
169
    /**
170
     * @param \Exception $e
171
     */
172
    protected function logException(\Exception $e)
173
    {
174
        \Log::error(
175
            $e->getMessage() . ' in ' . $e->getFile() . ':' . $e->getLine() . "\n" .
176
            $e->getTraceAsString() . "\n" .
177
            str_repeat('=', 80) . "\n"
178
        );
179
    }
180
181
    /**
182
     * @param string $id