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

fix: expected int but got float error in reading Powerpoint presenation #800

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

john-muinde
Copy link

fix of this error:
PhpOffice\PhpPresentation\Shape\RichText\Paragraph::setSpacingBefore(): Argu
ment #1 ($spacingBefore) must be of type int, float given, called in ...\vendor\phpoffice\phppresentation\src\PhpPresentation\Reader\Powe
rPoint2007.php on line 1129 and defined in ...vendor\phpoffice\phppresentation\src\PhpPresentation\Shape\RichText\Paragraph.php:367
Stack trace:
#0 ...\vendor\phpoffice
\phppresentation\src\PhpPresentation\Reader\PowerPoint2007.php(1129): PhpOffice\PhpPresentation\Shape\RichText\Par
agraph->setSpacingBefore(7.48)

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

Successfully merging this pull request may close these issues.

None yet

2 participants