diff --git a/Reflection/ReflectionProperty.php b/Reflection/ReflectionProperty.php index 6a91deac0..1bd80d16a 100644 --- a/Reflection/ReflectionProperty.php +++ b/Reflection/ReflectionProperty.php @@ -24,6 +24,7 @@ class ReflectionProperty implements Reflector * @since 8.4 */ public const IS_VIRTUAL = 512; + /** * @var string Name of the property, same as calling the {@see ReflectionProperty::getName()} method */ diff --git a/aerospike/aerospike.php b/aerospike/aerospike.php index 45e66f15e..8c2272369 100644 --- a/aerospike/aerospike.php +++ b/aerospike/aerospike.php @@ -4216,9 +4216,7 @@ public function setDeserializer(callable $unserialize_cb) {} * (default) */ public const AS_MAP_UPDATE = "AS_MAP_UPDATE"; - public const AS_MAP_UPDATE_ONLY = "AS_MAP_UPDATE_ONLY"; - public const AS_MAP_CREATE_ONLY = "AS_MAP_CREATE_ONLY"; /** @@ -4311,17 +4309,11 @@ public function setDeserializer(callable $unserialize_cb) {} * @link https://www.aerospike.com/docs/guide/cdt-map.html#map-apis Map Result Types * */ public const MAP_RETURN_KEY_VALUE = "AS_MAP_RETURN_KEY_VALUE"; - public const LOG_LEVEL_OFF = "LOG_LEVEL_OFF"; - public const LOG_LEVEL_ERROR = "LOG_LEVEL_ERROR"; - public const LOG_LEVEL_WARN = "LOG_LEVEL_WARN"; - public const LOG_LEVEL_INFO = "LOG_LEVEL_INFO"; - public const LOG_LEVEL_DEBUG = "LOG_LEVEL_DEBUG"; - public const LOG_LEVEL_TRACE = "LOG_LEVEL_TRACE"; /** diff --git a/bz2/bz2.php b/bz2/bz2.php index 70a1a1707..d1a0e2991 100644 --- a/bz2/bz2.php +++ b/bz2/bz2.php @@ -90,7 +90,7 @@ function bzclose($bz): bool {} */ #[Pure] #[LanguageLevelTypeAware(['8.0' => 'int|false', '8.1' => 'int'], default: 'int')] -function bzerrno($bz):int {} +function bzerrno($bz): int {} /** * Returns a bzip2 error string @@ -119,7 +119,7 @@ function bzerrstr($bz): string {} #[Pure] #[ArrayShape(["errno" => "int", "errstr" => "string"])] #[LanguageLevelTypeAware(['8.0' => 'array|false', '8.1' => 'array'], default: 'array')] -function bzerror($bz):array {} +function bzerror($bz): array {} /** * Compress a string into bzip2 encoded data diff --git a/tests/TestData/Providers/Stubs/StubsParametersProvider.php b/tests/TestData/Providers/Stubs/StubsParametersProvider.php index 88c608029..b8247941f 100644 --- a/tests/TestData/Providers/Stubs/StubsParametersProvider.php +++ b/tests/TestData/Providers/Stubs/StubsParametersProvider.php @@ -136,7 +136,7 @@ private static function yieldFilteredMethodParameters(string $classType, callabl $toYield = array_filter( array_map( fn ($class) => array_filter( - array_map( + array_map( fn (PHPMethod $method) => array_filter( EntitiesFilter::getFilteredParameters($method, null, ...$problemTypes), function ($parameter) use ($filterFunction, $class, $method) { @@ -150,8 +150,8 @@ function ($parameter) use ($filterFunction, $class, $method) { ), EntitiesFilter::getFilteredStubsMethods($class) ), - fn ($parameters) => !empty($parameters) - ), + fn ($parameters) => !empty($parameters) + ), $filtered ), fn ($methods) => !empty($methods)