File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1457,13 +1457,13 @@ private function validateDsnOption($dsn): bool
14571457 }
14581458
14591459 /**
1460- * Validates if the value of the max_breadcrumbs option is in range .
1460+ * Validates if the value of the max_breadcrumbs option is valid .
14611461 *
14621462 * @param int $value The value to validate
14631463 */
14641464 private function validateMaxBreadcrumbsOptions (int $ value ): bool
14651465 {
1466- return $ value >= 0 && $ value <= self :: DEFAULT_MAX_BREADCRUMBS ;
1466+ return $ value >= 0 ;
14671467 }
14681468
14691469 /**
Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ public static function maxBreadcrumbsOptionIsValidatedCorrectlyDataProvider(): a
586586 [true , 0 ],
587587 [true , 1 ],
588588 [true , Options::DEFAULT_MAX_BREADCRUMBS ],
589- [false , Options::DEFAULT_MAX_BREADCRUMBS + 1 ],
589+ [true , Options::DEFAULT_MAX_BREADCRUMBS + 1 ],
590590 [false , 'string ' ],
591591 [false , '1 ' ],
592592 ];
You can’t perform that action at this time.
0 commit comments