Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error in SplFileInfoItem #38

Open
lubosdz opened this issue May 16, 2023 · 0 comments
Open

Type error in SplFileInfoItem #38

lubosdz opened this issue May 16, 2023 · 0 comments

Comments

@lubosdz
Copy link

lubosdz commented May 16, 2023

Executing basic code sample:

$entityManager->create(new DocumentUpload(new \SplFileInfo($filePath)));

throws type error with PHP 8.0.13 e.g. if file access denied:

TypeError
stream_get_meta_data(): Argument #1 ($stream) must be of type resource, bool given
in ....\app\vendor\signnow\rest-entity-manager\src\EntityManager\Annotation\GuzzleRequestBody\Multipart\SplFileInfoItem.php

on line #27.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant