Skip to content

Bug with PhpPresentation 1.0.0 and PhpPresentation 1.1.0 #59

@isobaric

Description

@isobaric

Run:
PhpOffice\PhpPresentation\IOFactory::load("demo.pptx");
get some error message:
PhpOffice\PhpPresentation\AbstractShape::setWidth(): Argument #1 ($pValue) must be of type int, float given, called in /xxx/vendor/phpoffice/phppresentation/src/PhpPresentation/Reader/PowerPoint2007.php on line 972

error file:
change return type float to int can fixed it;
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions