There was an error while loading. Please reload this page.
2 parents ea402c7 + c3ac273 commit 277cf28Copy full SHA for 277cf28
php/07_linkedlist/main.php
@@ -191,7 +191,7 @@ public function deleteLastKth($index)
191
++$i;
192
}
193
194
- if ($fast == null) {
+ if (null == $fast) {
195
return true;
196
197
@@ -305,4 +305,4 @@ public function findMiddleNode()
305
$listAlgo->setList($list);
306
$middleNode = $listAlgo->findMiddleNode();
307
var_dump($middleNode->data);
308
-echo '-------------------------------------------------------------'. PHP_EOL . PHP_EOL;
+echo '-------------------------------------------------------------'. PHP_EOL . PHP_EOL;
0 commit comments