Code Duplication    Length = 8-8 lines in 2 locations

src/Facade.php 2 locations

@@ 97-104 (lines=8) @@
94
     * @return int
95
     * @throws Exception
96
     */
97
    public static function sendEvent(EnvelopeInterface $envelope)
98
    {
99
        if (self::$client === null) {
100
            throw new Exception('Credentials and/or transport not provided');
101
        }
102
103
        return self::$client->sendEvent($envelope);
104
    }
105
106
    /**
107
     * Sends envelope to Covery for analysis
@@ 113-120 (lines=8) @@
110
     * @return Result
111
     * @throws Exception
112
     */
113
    public static function makeDecision(EnvelopeInterface $envelope)
114
    {
115
        if (self::$client === null) {
116
            throw new Exception('Credentials and/or transport not provided');
117
        }
118
119
        return self::$client->makeDecision($envelope);
120
    }
121
}
122