Skip to content

Commit 0c51fcb

Browse files
committed
Cleanup
1 parent e4fc227 commit 0c51fcb

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

phpstan.neon.dist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ parameters:
99
scanFiles:
1010
- vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
1111
treatPhpDocTypesAsCertain: false
12-
dynamicConstantNames:
13-
- WP_DEBUG
14-
- WP_DEBUG_LOG
15-
- WP_DEBUG_DISPLAY
1612
strictRules:
1713
uselessCast: true
1814
closureUsesThis: true

src/Cache_Command.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -469,9 +469,6 @@ public function flush_group( $args ) {
469469
public function pluck( $args, $assoc_args ) {
470470
list( $key ) = $args;
471471

472-
/**
473-
* @var string $group
474-
*/
475472
$group = Utils\get_flag_value( $assoc_args, 'group' );
476473

477474
$value = wp_cache_get( $key, $group );
@@ -552,14 +549,8 @@ function ( $key ) {
552549
public function patch( $args, $assoc_args ) {
553550
list( $action, $key ) = $args;
554551

555-
/**
556-
* @var string $group
557-
*/
558552
$group = Utils\get_flag_value( $assoc_args, 'group' );
559553

560-
/**
561-
* @var string|null $expiration
562-
*/
563554
$expiration = Utils\get_flag_value( $assoc_args, 'expiration' );
564555

565556
$key_path = array_map(

0 commit comments

Comments
 (0)