Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.
This repository was archived by the owner on May 8, 2024. It is now read-only.

Bug in ServiceProperties.php #344

@FGalliot

Description

@FGalliot

concern: vendor/microsoft/azure-storage-common/src/Common/Models/ServiceProperties.php

On my server I had to correct line 253:
if (count($this->getCorses()) == 1) {
by:
if ($this->getCorses()!="" AND count($this->getCorses()) == 1) {
because the script gave an error:
Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in ..../vendor/microsoft/azure-storage-common/src/Common/Models/ServiceProperties.php:256

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