8000 Fix CS · symfony/cache@db611fb · GitHub
[go: up one dir, main page]

Skip to content

Commit db611fb

Browse files
committed
Fix CS
1 parent f58f87f commit db611fb

11 files changed

+11
-11
lines changed

Adapter/AdapterInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ public function getItems(array $keys = []);
4545
*
4646
* @return bool
4747
*/
48-
public function clear(/*string $prefix = ''*/);
48+
public function clear(/* string $prefix = '' */);
4949
}

Adapter/ChainAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function hasItem($key)
210210
*
211211
* @return bool
212212
*/
213-
public function clear(/*string $prefix = ''*/)
213+
public function clear(/* string $prefix = '' */)
214214
{
215215
$prefix = 0 < \func_num_args() ? (string) func_get_arg(0) : '';
216216
$cleared = true;

Adapter/NullAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function hasItem($key)
8282
*
8383
* @return bool
8484
*/
85-
public function clear(/*string $prefix = ''*/)
85+
public function clear(/* string $prefix = '' */)
8686
{
8787
return true;
8888
}

Adapter/ProxyAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function hasItem($key)
155155
*
156156
* @return bool
157157
*/
158-
public function clear(/*string $prefix = ''*/)
158+
public function clear(/* string $prefix = '' */)
159159
{
160160
$prefix = 0 < \func_num_args() ? (string) func_get_arg(0) : '';
161161

Adapter/TagAwareAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function getItems(array $keys = [])
237237
*
238238
* @return bool
239239
*/
240-
public function clear(/*string $prefix = ''*/)
240+
public function clear(/* string $prefix = '' */)
241241
{
242242
$prefix = 0 < \func_num_args() ? (string) func_get_arg(0) : '';
243243

Adapter/TraceableAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function getItems(array $keys = [])
180180
*
181181
* @return bool
182182
*/
183-
public function clear(/*string $prefix = ''*/)
183+
public function clear(/* string $prefix = '' */)
184184
{
185185
$prefix = 0 < \func_num_args() ? (string) func_get_arg(0) : '';
186186
$event = $this->start(__FUNCTION__);

DataCollector/CacheDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function addInstance($name, TraceableAdapter $instance)
4444
*
4545
* @param \Throwable|null $exception
4646
*/
47-
public function collect(Request $request, Response $response/*, \Throwable $exception = null*/)
47+
public function collect(Request $request, Response $response/* , \Throwable $exception = null */)
4848
{
4949
$empty = ['calls' => [], 'config' => [], 'options' => [], 'statistics' => []];
5050
$this->data = ['instances' => $empty, 'total' => $empty];

Tests/Simple/PhpArrayCacheWithFallbackTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class PhpArrayCacheWithFallbackTest extends CacheTestCase
2727
'testGetMultipleInvalidKeys' => 'PhpArrayCache does no validation',
2828
'testDeleteInvalidKeys' => 'PhpArrayCache does no validation',
2929
'testDeleteMultipleInvalidKeys' => 'PhpArrayCache does no validation',
30-
//'testSetValidData' => 'PhpArrayCache does no validation',
30+
// 'testSetValidData' => 'PhpArrayCache does no validation',
3131
'testSetInvalidKeys' => 'PhpArrayCache does no validation',
3232
'testSetInvalidTtl' => 'PhpArrayCache does no validation',
3333
'testSetMultipleInvalidKeys' => 'PhpArrayCache does no validation',

Traits/AbstractTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function hasItem($key)
109109
*
110110
* @return bool
111111
*/
112-
public function clear(/*string $prefix = ''*/)
112+
public function clear(/* string $prefix = '' */)
113113
{
114114
$this->deferred = [];
115115
if ($cleared = $this->versioningIsEnabled) {

Traits/ArrayTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function hasItem($key)
7373
*
7474
* @return bool
7575
*/
76-
public function clear(/*string $prefix = ''*/)
76+
public function clear(/* string $prefix = '' */)
7777
{
7878
$prefix = 0 < \func_num_args() ? (string) func_get_arg(0) : '';
7979

0 commit comments

Comments
 (0)
0