Skip to content

Commit 2aed8e1

Browse files
Add some missing return types to internal/final classes
1 parent d2cddff commit 2aed8e1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Caster/ResourceCaster.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ class ResourceCaster
2424
{
2525
/**
2626
* @param \CurlHandle|resource $h
27-
*
28-
* @return array
2927
*/
30-
public static function castCurl($h, array $a, Stub $stub, bool $isNested)
28+
public static function castCurl($h, array $a, Stub $stub, bool $isNested): array
3129
{
3230
return curl_getinfo($h);
3331
}

0 commit comments

Comments
 (0)