mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
Update Template.php
This commit is contained in:
parent
81837634dc
commit
c0284ccd1c
1 changed files with 2 additions and 2 deletions
|
@ -963,11 +963,11 @@ class Template
|
|||
/**
|
||||
* Write cache to disk
|
||||
*
|
||||
* @param $filename
|
||||
* @param string $filename
|
||||
* @param $code
|
||||
* @return false|int
|
||||
*/
|
||||
public function write_cache($filename, $code)
|
||||
public function write_cache(string $filename, $code)
|
||||
{
|
||||
return file_write($code, $filename, max_size: false, replace_content: true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue