You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @deprecated This method will be dropped in 3.0 once all delimiters MUST have an index/position
353
-
*
354
-
* @throws LogicException if no index was defined on this delimiter, and no reasonable guess could be made based on its neighbors
355
342
*/
356
343
privatefunctiongetIndex(?DelimiterInterface$delimiter): int
357
344
{
@@ -395,6 +382,6 @@ private function getIndex(?DelimiterInterface $delimiter): int
395
382
} while ($next = $next->getNext());
396
383
397
384
// No index was defined on this delimiter, and none could be guesstimated based on the stack.
398
-
thrownewLogicException('No index was defined on thisdelimiter, and none could be guessed based on the stack. Ensure you are passing the index when instantiating the Delimiter.');
0 commit comments