Skip to content

Commit b60c861

Browse files
committed
Fix codestyle manually
1 parent 31ff133 commit b60c861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Convertor.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private static function process(string $pdfPath, string $savePath): \Imagick
7474
*
7575
* @throws ConvertorException
7676
*/
77-
private static function write(string $file, string $content, ?int $mode = 0666): void
77+
private static function write(string $file, string $content, ?int $mode = 0_666): void
7878
{
7979
static::createDir(dirname($file));
8080
if (@file_put_contents($file, $content) === false) { // @ is escalated to exception
@@ -91,7 +91,7 @@ private static function write(string $file, string $content, ?int $mode = 0666):
9191
*
9292
* @throws ConvertorException
9393
*/
94-
private static function createDir(string $dir, int $mode = 0777): void
94+
private static function createDir(string $dir, int $mode = 0_777): void
9595
{
9696
if (!is_dir($dir) && !@mkdir($dir, $mode, true) && !is_dir($dir)) { // @ - dir may already exist
9797
throw new ConvertorException('Unable to create directory "' . $dir . '": ' . self::getLastError());

0 commit comments

Comments
 (0)