You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RVxLab
changed the title
[Bug] shouldExclude Argument $1 ($path) must be of type string
[Bug] shouldExclude Argument #1 ($path) must be of type string
Aug 11, 2023
PHP: 8.2
Laravel: 10.15
Airdrop: 0.2.4
When running the
airdrop:download
orairdrop:upload
commands, the following errors comes up:This is caused by this line. The iterator is an iterator of
Symfony\Component\Finder\SplFileInfo
, not string.The fix seems to be to pass the realpath from the Symfony object and remove the
realpath
function call in theshouldExclude
function.Doing this locally causes Airdrop to function as expected.
The text was updated successfully, but these errors were encountered: