Skip to content

Commit

Permalink
phpdoc reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
brettmc committed Mar 13, 2024
1 parent 642bd1c commit 0d949cd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 15 deletions.
4 changes: 1 addition & 3 deletions src/API/Trace/TraceState.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ class TraceState implements TraceStateInterface
private const VALID_VALUE_BASE_REGEX = '/^[ -~]{0,255}[!-~]$/';
private const INVALID_VALUE_COMMA_EQUAL_REGEX = '/,|=/';

/**
* @var string[]
*/
/** @var string[] */
private array $traceState = [];

public function __construct(string $rawTracestate = null)
Expand Down
4 changes: 1 addition & 3 deletions src/Context/Propagation/MultiTextMapPropagator.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

final class MultiTextMapPropagator implements TextMapPropagatorInterface
{
/**
* @var list<string>
*/
/** @var list<string> */
private readonly array $fields;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class CompositeResolver
{
// @var array<ResolverInterface>
/** @var list<ResolverInterface> */
private array $resolvers = [];

public static function instance(): self
Expand Down
4 changes: 1 addition & 3 deletions src/SDK/Logs/LoggerProviderBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@

class LoggerProviderBuilder
{
/**
* @var array<LogRecordProcessorInterface>
*/
/** @var array<LogRecordProcessorInterface> */
private array $processors = [];
private ?ResourceInfo $resource = null;

Expand Down
2 changes: 1 addition & 1 deletion src/SDK/Logs/Processor/MultiLogRecordProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class MultiLogRecordProcessor implements LogRecordProcessorInterface
{
// @var list<LogRecordProcessorInterface>
/** @var list<LogRecordProcessorInterface> */
private array $processors = [];

public function __construct(array $processors)
Expand Down
2 changes: 1 addition & 1 deletion src/SDK/Metrics/MeterProviderBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class MeterProviderBuilder
{
// @var list<MetricReaderInterface>
/** @var list<MetricReaderInterface> */
private array $metricReaders = [];
private ?ResourceInfo $resource = null;
private ?ExemplarFilterInterface $exemplarFilter = null;
Expand Down
4 changes: 1 addition & 3 deletions src/SDK/Metrics/View/ViewTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ final class ViewTemplate
{
private ?string $name = null;
private ?string $description = null;
/**
* @var list<string>
*/
/** @var list<string> */
private ?array $attributeKeys = null;
private ?AggregationInterface $aggregation = null;

Expand Down

0 comments on commit 0d949cd

Please sign in to comment.