![]() |
ci 4.5.1. I'm using as per the docs,
PHP Code: $file=$file->move('todir','newname',true);
You are probably using UploadedFile, not File.
See https://github.com/codeigniter4/CodeIgni...#L130-L132 But UploadedFile extends File. So changing the return type is a violation of LSP.
you're right (of course). I wasn't aware of Uploaded file. the source file is an upload and file->move(..) worked fine so i didn't search any further
thanks, Bill |
Welcome Guest, Not a member yet? Register Sign In |