Skip to content

Commit ffcadee

Browse files
committed
Merge pull request #1649 from dishark/patch-1
Typos
2 parents 7499cd7 + e7119c2 commit ffcadee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/protocol.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ public function removeChild($tag, $attrs = [])
9696
{
9797
if ($this->children) {
9898
if (is_int($tag)) {
99-
if (isset($this->childen[$tag])) {
99+
if (isset($this->children[$tag])) {
100100
array_slice($this->children, $tag, 1);
101101
}
102102
} else {
103-
foreach ($this->childen as $i => $child) {
103+
foreach ($this->children as $i => $child) {
104104
$index = -1;
105105
if (strcmp($child->tag, $tag) == 0) {
106106
$index = $i;

0 commit comments

Comments
 (0)