Skip to content

Commit 0343388

Browse files
committed
types
1 parent 45cf2ba commit 0343388

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

src/Tracing/Cache/TraceableCacheAdapterForV2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(HubInterface $hub, AdapterInterface $decoratedAdapte
4040
*
4141
* @return mixed
4242
*/
43-
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed
43+
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null)
4444
{
4545
return $this->traceGet($key, $callback, $beta, $metadata);
4646
}

src/Tracing/Cache/TraceableCacheAdapterForV3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(HubInterface $hub, AdapterInterface $decoratedAdapte
3838
*
3939
* @param mixed[] $metadata
4040
*/
41-
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed
41+
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null)
4242
{
4343
return $this->traceGet($key, $callback, $beta, $metadata);
4444
}

src/Tracing/Cache/TraceableCacheAdapterForV3WithNamespace.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ public function __construct(HubInterface $hub, AdapterInterface $decoratedAdapte
3838
* {@inheritdoc}
3939
*
4040
* @param mixed[] $metadata
41+
* @return mixed
4142
*/
42-
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed
43+
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null)
4344
{
4445
return $this->traceGet($key, $callback, $beta, $metadata);
4546
}

src/Tracing/Cache/TraceableTagAwareCacheAdapterForV2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(HubInterface $hub, TagAwareAdapterInterface $decorat
4040
*
4141
* @return mixed
4242
*/
43-
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed
43+
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null)
4444
{
4545
return $this->traceGet($key, $callback, $beta, $metadata);
4646
}

src/Tracing/Cache/TraceableTagAwareCacheAdapterForV3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(HubInterface $hub, TagAwareAdapterInterface $decorat
3838
*
3939
* @param mixed[] $metadata
4040
*/
41-
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null): mixed
41+
public function get($key, callable $callback, ?float $beta = null, ?array &$metadata = null)
4242
{
4343
return $this->traceGet($key, $callback, $beta, $metadata);
4444
}

0 commit comments

Comments
 (0)