Skip to content

Incorrect PHPDoc @param object types #4

Description

@magnusnordlander

Bug report for Cloudinary PHP Transformation Builder SDK

Before proceeding, please update to the latest version and test if the issue persists

Describe the bug in a sentence or two.

Incorrect PHPDoc tag for Cloudinary\Transformation\TransformationResizeTrait::fill. The $gravity argument is documented as taking an instance of Cloudinary\Transformation\Gravity, but in fact expects an instance of Cloudinary\Transformation\GravityQualifier. Presumably this is a bigger issue than just this one argument, but this is where PHPStan complains for me, so I thought I'd start somewhere.

Issue Type (Can be multiple)

  • Build - Can’t install or import the SDK
  • Performance - Performance issues
  • Behaviour - Functions aren’t working as expected (such as generate URL)
  • Documentation - Inconsistency between the docs and behaviour
  • Other (Specify)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions