Skip to content

Commit d6ffe89

Browse files
ABGEOnicolas-grekas
authored andcommitted
#32853 Check if $this->parameters is array.
1 parent 1019ffc commit d6ffe89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,7 @@ private function startClass($class, $baseClass, $baseClassWithNamespace)
969969
*/
970970
class $class extends $baseClass
971971
{
972-
private \$parameters;
972+
private \$parameters = [];
973973
private \$targetDirs = [];
974974
975975
public function __construct()

0 commit comments

Comments
 (0)