Code Duplication    Length = 9-9 lines in 2 locations

src/BrowserMob.php 2 locations

@@ 154-162 (lines=9) @@
151
        }
152
    }
153
154
    public function startHar()
155
    {
156
        try {
157
            $response = $this->bmp->newHar();
158
        } catch (\Exception $e) {
159
            throw new ModuleException(__CLASS__, $e->getMessage());
160
        }
161
        return $response->success;
162
    }
163
164
    public function startPage()
165
    {
@@ 164-172 (lines=9) @@
161
        return $response->success;
162
    }
163
164
    public function startPage()
165
    {
166
        try {
167
            $response = $this->bmp->newPage();
168
        } catch (\Exception $e) {
169
            throw new ModuleException(__CLASS__, $e->getMessage());
170
        }
171
        return $response->success;
172
    }
173
174
    public function getHar()
175
    {