We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PageScreenshot::getException
1 parent 7c64506 commit e3bd585Copy full SHA for e3bd585
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