@@ -13,7 +13,7 @@ |
||
13 | 13 | public function __construct( |
14 | 14 | protected ParseSpecInterface $parseSpec, |
15 | 15 | protected string $uri, |
16 | - protected null|int|string $pollPeriod = null, |
|
16 | + protected null | int | string $pollPeriod = null, |
|
17 | 17 | protected ?int $maxHeapPercentage = null, |
18 | 18 | protected bool $injective = false, |
19 | 19 | protected int $firstCacheTimeoutMs = 0 |
@@ -48,8 +48,8 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function __construct( |
50 | 50 | protected string $connectUri, |
51 | - protected string|null $username, |
|
52 | - protected string|null $password, |
|
51 | + protected string | null $username, |
|
52 | + protected string | null $password, |
|
53 | 53 | protected string $table, |
54 | 54 | protected string $keyColumn, |
55 | 55 | protected string $valueColumn, |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | protected ?string $tsColumn = null, |
58 | 58 | protected ?int $jitterSeconds = null, |
59 | 59 | protected ?int $loadTimeoutSeconds = null, |
60 | - protected null|int|string $pollPeriod = null, |
|
60 | + protected null | int | string $pollPeriod = null, |
|
61 | 61 | protected ?int $maxHeapPercentage = null, |
62 | 62 | protected bool $injective = false, |
63 | 63 | protected int $firstCacheTimeoutMs = 0 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | */ |
18 | 18 | public function __construct( |
19 | 19 | protected string $kafkaTopic, |
20 | - protected string|array $servers, |
|
20 | + protected string | array $servers, |
|
21 | 21 | protected array $kafkaProperties = [], |
22 | 22 | protected int $connectTimeout = 0, |
23 | 23 | protected bool $isOneToOne = false |
@@ -21,9 +21,9 @@ discard block |
||
21 | 21 | |
22 | 22 | protected int $firstCacheTimeoutMs = 0; |
23 | 23 | |
24 | - protected int|string|null $pollPeriod = null; |
|
24 | + protected int | string | null $pollPeriod = null; |
|
25 | 25 | |
26 | - protected int|null $maxHeapPercentage = null; |
|
26 | + protected int | null $maxHeapPercentage = null; |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @var class-string<\Level23\Druid\Lookups\LookupInterface>|null |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | * |
276 | 276 | * @return $this |
277 | 277 | */ |
278 | - public function pollPeriod(int|string $period): self |
|
278 | + public function pollPeriod(int | string $period): self |
|
279 | 279 | { |
280 | 280 | $this->pollPeriod = $period; |
281 | 281 | |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | */ |
370 | 370 | public function kafka( |
371 | 371 | string $kafkaTopic, |
372 | - string|array $servers, |
|
372 | + string | array $servers, |
|
373 | 373 | array $kafkaProperties = [], |
374 | 374 | int $connectTimeout = 0 |
375 | 375 | ): LookupBuilder { |
@@ -409,8 +409,8 @@ discard block |
||
409 | 409 | */ |
410 | 410 | public function jdbc( |
411 | 411 | string $connectUri, |
412 | - string|null $username, |
|
413 | - string|null $password, |
|
412 | + string | null $username, |
|
413 | + string | null $password, |
|
414 | 414 | string $table, |
415 | 415 | string $keyColumn, |
416 | 416 | string $valueColumn, |
@@ -17,7 +17,7 @@ |
||
17 | 17 | * @param int $skipHeaderRows |
18 | 18 | */ |
19 | 19 | public function __construct( |
20 | - protected null|array $columns, |
|
20 | + protected null | array $columns, |
|
21 | 21 | protected ?string $keyColumn = null, |
22 | 22 | protected ?string $valueColumn = null, |
23 | 23 | protected ?string $delimiter = null, |