Skip to content

Commit 7c64506

Browse files
committed
Apply fixes from StyleCI
1 parent b10c8c1 commit 7c64506

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Dom/Node.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public function sendFiles(array $filePaths): void
234234
public function assertNotError(Response $response): void
235235
{
236236
if (!$response->isSuccessful()) {
237-
throw new DOMException($response->getErrorMessage());
237+
throw new DomException($response->getErrorMessage());
238238
}
239239
}
240240

src/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ private function waitForReloadGenerator($eventName, $loaderId)
456456

457457
yield $delay;
458458

459-
// else if frame has still the previous loader, wait for the new one
459+
// else if frame has still the previous loader, wait for the new one
460460
} else {
461461
yield $delay;
462462
}

src/PageUtils/PageNavigation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,16 +171,16 @@ private function navigationComplete($eventName)
171171
if ($this->page->hasLifecycleEvent($eventName)) {
172172
return true;
173173

174-
// or else just wait for the new event to trigger
174+
// or else just wait for the new event to trigger
175175
} else {
176176
yield $delay;
177177
}
178178

179-
// else if frame has still the previous loader, wait for the new one
179+
// else if frame has still the previous loader, wait for the new one
180180
} elseif ($this->frame->getLatestLoaderId() == $this->previousLoaderId) {
181181
yield $delay;
182182

183-
// else if a new loader is present that means that a new navigation started
183+
// else if a new loader is present that means that a new navigation started
184184
} else {
185185
// if strict then throw or else replace the old navigation with the new one
186186
if ($this->strict) {

0 commit comments

Comments
 (0)