Skip to content

Commit c29feb4

Browse files
committed
[CssSelector] removed an unneeded condition (taken care of afterward in the code) (closes #4269)
1 parent e22ee36 commit c29feb4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Node/FunctionNode.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,11 +250,6 @@ protected function parseSeries($s)
250250
return array(0, 0);
251251
}
252252

253-
if (is_string($s)) {
254-
// Happens when you just get a number
255-
return array(0, $s);
256-
}
257-
258253
if ('odd' == $s) {
259254
return array(2, 1);
260255
}

0 commit comments

Comments
 (0)