We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b10c8c1 commit 11e0d2eCopy full SHA for 11e0d2e
src/PageUtils/PageScreenshot.php
@@ -20,7 +20,7 @@ class PageScreenshot extends AbstractBinaryInput
20
*
21
* @internal
22
*/
23
- protected function getException(string $message): \Exception
+ protected function getException(string $message): ScreenshotFailed
24
{
25
return new ScreenshotFailed(
26
\sprintf('Cannot make a screenshot. Reason : %s', $message)
0 commit comments