Skip to content

Commit

Permalink
StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
divinity76 authored Jun 19, 2024
1 parent ecf8bd1 commit ff5a773
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/PageUtils/AbstractBinaryInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ public function getBase64(int $timeout = null)
* Get raw binary data.
*
* @param int|null $timeout
*
* @return string
*/
public function getRawBinary(int $timeout = null): string
{
return base64_decode($this->getBase64($timeout), true);
return \base64_decode($this->getBase64($timeout), true);
}

/**
* Save data to the given file.
*
Expand Down Expand Up @@ -100,7 +101,7 @@ public function saveToFile(string $path, int $timeout = 5000): void
}
}

$file = \fopen($path, 'wb');
$file = \fopen($path, 'w');
\stream_filter_append($file, 'convert.base64-decode');
\fwrite($file, $response->getResultData('data'));
\fclose($file);
Expand Down

0 comments on commit ff5a773

Please sign in to comment.