Code Duplication    Length = 9-9 lines in 2 locations

src/BrowserMob.php 2 locations

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