We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79daab3 commit c58b2fdCopy full SHA for c58b2fd
src/Dot.php
@@ -47,7 +47,7 @@ class Dot implements ArrayAccess, Countable, IteratorAggregate, JsonSerializable
47
public function __construct($items = [], $delimiter = '.')
48
{
49
$this->items = $this->getArrayItems($items);
50
- $this->delimiter = $delimiter;
+ $this->delimiter = strlen($delimiter) ? $delimiter : '.';
51
}
52
53
/**
0 commit comments