[Bug 272927] php81-pear-MDB2-2.5.0.b5

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Aug 2023 01:46:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272927

            Bug ID: 272927
           Summary: php81-pear-MDB2-2.5.0.b5
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: joel@tahoestores.com

Generates a fatal error - ($value) must be of type Countable|array

The code:

       if (!count($dsn)) {
            return $parsed;
        }

Suggested fix:

       if (!count(array($dsn))) {
            return $parsed;
        }

-- 
You are receiving this mail because:
You are the assignee for the bug.