Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c3ef400

Browse filesBrowse files
committed
cleanup pruneable interface docblock and remove unused sprintf
1 parent d89caf3 commit c3ef400
Copy full SHA for c3ef400

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Component/Cache/PruneableInterface.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/PruneableInterface.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Cache;
1313

1414
/**
15-
* Interface for adapters and simple cache implementations that allow pruning expired items.
15+
* Interface extends psr-6 and psr-16 caches to allow for pruning (deletion) of all expired cache items.
1616
*/
1717
interface PruneableInterface
1818
{

‎src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ protected function isPruned($cache, $name)
1818
$o = new \ReflectionObject($cache);
1919

2020
if (!$o->hasMethod('getConnection') || !$o->hasProperty('table') || !$o->hasProperty('idCol')) {
21-
self::fail(sprintf('Cache does not have "getConnection()" method, or "table" or "idCol" properties.'));
21+
self::fail('Cache does not have "getConnection()" method, or "table" or "idCol" properties.');
2222
}
2323

2424
$getPdoConn = $o->getMethod('getConnection');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.