Skip to content

setEnableEmbed(true) Not Accepting true Value, Only Accepts false #2661

@abhi8249

Description

@abhi8249

Environment details

  • OS: ubuntu24
  • PHP version: 8.2
  • Package name and version:

Steps to reproduce

  1. Instantiate the contentDetails object.
  2. Call $contentDetails->setEnableEmbed(true);
  3. Observe that true is rejected.
  4. Call $contentDetails->setEnableEmbed(false);
  5. Observe that false is accepted without issues.

Code example

# $contentDetails = new LiveBroadcastContentDetails();
 # $contentDetails->setEnableEmbed(true);

Expected Behavior
The method should accept both true and false as valid boolean inputs.

Actual Behavior
The method rejects true but allows false, indicating a possible bug.

Thanks!

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