Skip to content

Commit f695c49

Browse files
committed
Merge branch '3.1' into 3.2
2 parents c37b740 + e8aa4f7 commit f695c49

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Xml/Document.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected function getValueData(SimpleXMLElement $content, $use, $default = null
148148
*/
149149
protected function getValueCollection(SimpleXMLElement $content, array $matches, $default = null)
150150
{
151-
$parent = $matches[1];
151+
$parent = $matches[1];
152152
$namespace = null;
153153

154154
if (Str::contains($parent, '/')) {
@@ -170,7 +170,7 @@ protected function getValueCollection(SimpleXMLElement $content, array $matches,
170170
continue;
171171
}
172172

173-
if (! is_null($namespace) && isset($namespaces[$namespace]) ) {
173+
if (! is_null($namespace) && isset($namespaces[$namespace])) {
174174
$content = $content->children($namespaces[$namespace]);
175175
}
176176

@@ -185,7 +185,6 @@ protected function getValueCollection(SimpleXMLElement $content, array $matches,
185185
*
186186
* @param \SimpleXMLElement $content
187187
* @param array $uses
188-
* @param mixed $default
189188
*
190189
* @return array
191190
*/

0 commit comments

Comments
 (0)