Upgrade to 3.9.7
This commit is contained in:
@@ -67,10 +67,10 @@ class Api extends BaseApi
|
||||
* Returns the file object for the given
|
||||
* parent path and filename
|
||||
*
|
||||
* @param string|null $path Path to file's parent model
|
||||
* @param string $path Path to file's parent model
|
||||
* @throws \Kirby\Exception\NotFoundException if the file cannot be found
|
||||
*/
|
||||
public function file(string|null $path = null, string $filename): File|null
|
||||
public function file(string $path, string $filename): File|null
|
||||
{
|
||||
return Find::file($path, $filename);
|
||||
}
|
||||
|
Reference in New Issue
Block a user