File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77use SFC \Staticfilecache \Event \CacheRuleEvent ;
88
99/**
10- * Check if there is no path segment that is to long.
10+ * Check if there is no path segment that is too long.
1111 */
1212class NoLongPathSegmentListener
1313{
1414 /**
15- * Check if there is no path segment that is to long.
15+ * Check if there is no path segment that is too long.
1616 */
1717 public function __invoke (CacheRuleEvent $ event ): void
1818 {
@@ -22,7 +22,7 @@ public function __invoke(CacheRuleEvent $event): void
2222
2323 foreach ($ segments as $ segment ) {
2424 if (\strlen ($ segment ) > 255 ) {
25- $ event ->addExplanation (__CLASS__ , 'The URI seegment of the URI is to long to create a folder based on tthis segment: ' . $ segment );
25+ $ event ->addExplanation (__CLASS__ , 'The URI segment of the URI is too long to create a folder based on this segment: ' . $ segment );
2626 $ event ->setSkipProcessing (true );
2727
2828 return ;
You can’t perform that action at this time.
0 commit comments