diff --git a/composer.json b/composer.json
index e7d2b401bb..1ebc818e9f 100644
--- a/composer.json
+++ b/composer.json
@@ -24,7 +24,7 @@
 		"nette/utils": "^3.2.5",
 		"nikic/php-parser": "^5.2.0",
 		"ondram/ci-detector": "^3.4.0",
-		"ondrejmirtes/better-reflection": "6.42.0.8",
+		"ondrejmirtes/better-reflection": "6.42.0.9",
 		"phpstan/php-8-stubs": "0.3.111",
 		"phpstan/phpdoc-parser": "^2.0",
 		"psr/http-message": "^1.1",
diff --git a/composer.lock b/composer.lock
index 2bf4e1b5f2..184b4f0320 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "3745d8358f113e8d1a7c6b1066a9db0a",
+    "content-hash": "25426f4d76b14416d019ce2466d96971",
     "packages": [
         {
             "name": "clue/ndjson-react",
@@ -2179,16 +2179,16 @@
         },
         {
             "name": "ondrejmirtes/better-reflection",
-            "version": "6.42.0.8",
+            "version": "6.42.0.9",
             "source": {
                 "type": "git",
                 "url": "https://github.com/ondrejmirtes/BetterReflection.git",
-                "reference": "00d3413be6f1f9c012b935fbf7aec900bcdde4db"
+                "reference": "28d0aa833b53a038c6e10480770b17fb643323b1"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/ondrejmirtes/BetterReflection/zipball/00d3413be6f1f9c012b935fbf7aec900bcdde4db",
-                "reference": "00d3413be6f1f9c012b935fbf7aec900bcdde4db",
+                "url": "https://api.github.com/repos/ondrejmirtes/BetterReflection/zipball/28d0aa833b53a038c6e10480770b17fb643323b1",
+                "reference": "28d0aa833b53a038c6e10480770b17fb643323b1",
                 "shasum": ""
             },
             "require": {
@@ -2244,9 +2244,9 @@
             ],
             "description": "Better Reflection - an improved code reflection API",
             "support": {
-                "source": "https://github.com/ondrejmirtes/BetterReflection/tree/6.42.0.8"
+                "source": "https://github.com/ondrejmirtes/BetterReflection/tree/6.42.0.9"
             },
-            "time": "2024-09-10T09:57:34+00:00"
+            "time": "2024-09-30T10:27:49+00:00"
         },
         {
             "name": "phpstan/php-8-stubs",