Skip to content

Commit 72c3594

Browse files
authored
Merge pull request #452 from ayacoo/patch-3
Update NoLongPathSegmentListener.php
2 parents f9d574a + c455555 commit 72c3594

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/Cache/Listener/NoLongPathSegmentListener.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
use 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
*/
1212
class 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;

0 commit comments

Comments
 (0)