array( 'type' => 'array' ), 'count' => array( 'type' => 'integer' ), ); } protected function annotations(): array { return array( 'readonly' => true, 'destructive' => false, 'idempotent' => true, ); } protected function run( array $input ) { $rows = Block_Repository::all(); return array( 'blocks' => $rows, 'count' => count( $rows ), 'message' => sprintf( /* translators: %d: number of blocks */ _n( '%d ACF block.', '%d ACF blocks.', count( $rows ), 'acrossai-abilities-manager' ), count( $rows ) ), ); } }