Skip to content

Commit

Permalink
Revert phpstan ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Sep 9, 2021
1 parent 74dfcb8 commit 7f21703
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion includes/embeds/class-amp-twitter-embed-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ class AMP_Twitter_Embed_Handler extends AMP_Base_Embed_Handler {
/**
* Default width.
*
* @phpstan-ignore-next-line
* @var int|string
*/
protected $DEFAULT_WIDTH = 'auto';
Expand Down
1 change: 1 addition & 0 deletions src/BackgroundTask/MonitorCssTransientCaching.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public function process( ...$args ) {

$date = isset( $args[0] ) && $args[0] instanceof DateTimeInterface ? $args[0] : new DateTimeImmutable();

/** @phpstan-ignore-next-line */
$transient_count = isset( $args[1] ) ? (int) $args[1] : $this->query_css_transient_count();

$date_string = $date->format( 'Ymd' );
Expand Down

0 comments on commit 7f21703

Please sign in to comment.