mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix implicitly nullable argument
This commit is contained in:
parent
94e6efc6bf
commit
e9b035b423
1 changed files with 2 additions and 2 deletions
|
|
@ -260,10 +260,10 @@ class Storage
|
|||
* @param string $filename
|
||||
* @param string|resource $content
|
||||
* @param string $mode (optional)
|
||||
* @param int $perms (optional)
|
||||
* @param ?int $perms (optional)
|
||||
* @return string|false
|
||||
*/
|
||||
public static function write(string $filename, $content, string $mode = 'w', int $perms = null)
|
||||
public static function write(string $filename, $content, string $mode = 'w', ?int $perms = null)
|
||||
{
|
||||
$filename = rtrim($filename, '/\\');
|
||||
$destination_dir = dirname($filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue