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 9cf0fb6 commit 676602dCopy full SHA for 676602d
DS/LinkedList/Classes/LinkedList.php
@@ -74,7 +74,6 @@ public function insertBefore(string $data = NULL, string $query = NULL) {
74
} else {
75
$previous->next = $newNode;
76
}
77
- $previous->next = $newNode;
78
$this->_totalNode++;
79
break;
80
0 commit comments