diff --git a/includes/embeds/class-amp-twitter-embed-handler.php b/includes/embeds/class-amp-twitter-embed-handler.php index c33c71e7915..9dd030b5164 100644 --- a/includes/embeds/class-amp-twitter-embed-handler.php +++ b/includes/embeds/class-amp-twitter-embed-handler.php @@ -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'; diff --git a/src/BackgroundTask/MonitorCssTransientCaching.php b/src/BackgroundTask/MonitorCssTransientCaching.php index a2965aefe84..309b4f76311 100644 --- a/src/BackgroundTask/MonitorCssTransientCaching.php +++ b/src/BackgroundTask/MonitorCssTransientCaching.php @@ -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' );