Code Duplication    Length = 9-9 lines in 2 locations

src/BrowserMob.php 2 locations

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