1
0
Fork 0
mirror of https://github.com/shufflingpixels/php-io.git synced 2026-10-16 05:06:45 +02:00

Minor style fix.

This commit is contained in:
Henrik Hautakoski 2026-06-26 13:54:36 +02:00
parent 424714bbba
commit a27c0a87ea

View file

@ -7,7 +7,9 @@ namespace Shufflingpixels\IO;
use Shufflingpixels\IO\Exception\IOException;
/** A PSR-7 stream backed by a file on disk, opened via {@see FileMode}. */
/**
* A PSR-7 stream backed by a file on disk, opened via {@see FileMode}.
*/
class File extends Resource
{
/**
@ -29,6 +31,11 @@ class File extends Resource
throw new IOException("Unable to open file");
}
return new self($fd, $mode->seekable(), $mode->readable(), $mode->writable());
return new self(
$fd,
$mode->seekable(),
$mode->readable(),
$mode->writable()
);
}
}