Skip to content

Commit

Permalink
Fixed phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored Nov 6, 2024
1 parent ff5a773 commit 1d67246
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/PageUtils/AbstractBinaryInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ public function getResponseReader(): ResponseReader
/**
* Get base64 representation of the file.
*
* @param int|null $timeout
*
* @return mixed
*/
public function getBase64(int $timeout = null)
public function getBase64(?int $timeout = null)
{
$response = $this->responseReader->waitForResponse($timeout);

Expand All @@ -70,6 +72,7 @@ public function getRawBinary(int $timeout = null): string
* Save data to the given file.
*
* @param string $path
* @param int $timeout
*
* @throws FilesystemException
* @throws ScreenshotFailed
Expand Down

0 comments on commit 1d67246

Please sign in to comment.