Code Duplication    Length = 9-9 lines in 2 locations

src/BrowserMob.php 2 locations

@@ 128-136 (lines=9) @@
125
        }
126
    }
127
128
    public function startHar()
129
    {
130
        try {
131
            $response = $this->bmp->newHar();
132
        } catch(\Exception $e) {
133
            throw new ModuleException(__CLASS__, $e->getMessage());
134
        }
135
        return $response->success;
136
    }
137
138
    public function startPage()
139
    {
@@ 138-146 (lines=9) @@
135
        return $response->success;
136
    }
137
138
    public function startPage()
139
    {
140
        try {
141
            $response = $this->bmp->newPage();
142
        } catch(\Exception $e) {
143
            throw new ModuleException(__CLASS__, $e->getMessage());
144
        }
145
        return $response->success;
146
    }
147
148
    public function getHar()
149
    {