Skip to content

Module PS4 : $namespace of constructor must be a string #12

@jerrywham

Description

@jerrywham

Actually, by default it is null :

	public function __construct($baseDir, $namespace = null) {

but it must be a string because of trim function :

		$this->namespace = trim($namespace, '\\');

So constructor must be defined by :

	public function __construct($baseDir, $namespace = '') {

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