diff --git a/composer.json b/composer.json
index 2398451..120359e 100644
--- a/composer.json
+++ b/composer.json
@@ -23,7 +23,7 @@
 		"nextcloud/coding-standard": "^1.3.2",
 		"nextcloud/ocp": "^31.0.2",
 		"nextcloud/rector": "^0.3.1",
-		"phpstan/phpstan": "~1.12.21",
+		"phpstan/phpstan": "~1.12.23",
 		"phpstan/phpstan-deprecation-rules": "~1.2.1",
 		"rector/rector": "~1.2.10",
 		"roave/security-advisories": "dev-latest"
diff --git a/composer.lock b/composer.lock
index e9c9d9f..19ab3bc 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": "be087eacf78f4b4ec37ac0859f6bc989",
+    "content-hash": "a5c5cbe8c8f58767bb5a924a57cb6c3a",
     "packages": [],
     "packages-dev": [
         {
@@ -259,16 +259,16 @@
         },
         {
             "name": "phpstan/phpstan",
-            "version": "1.12.21",
+            "version": "1.12.23",
             "source": {
                 "type": "git",
                 "url": "https://github.com/phpstan/phpstan.git",
-                "reference": "14276fdef70575106a3392a4ed553c06a984df28"
+                "reference": "29201e7a743a6ab36f91394eab51889a82631428"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/14276fdef70575106a3392a4ed553c06a984df28",
-                "reference": "14276fdef70575106a3392a4ed553c06a984df28",
+                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/29201e7a743a6ab36f91394eab51889a82631428",
+                "reference": "29201e7a743a6ab36f91394eab51889a82631428",
                 "shasum": ""
             },
             "require": {
@@ -313,7 +313,7 @@
                     "type": "github"
                 }
             ],
-            "time": "2025-03-09T09:24:50+00:00"
+            "time": "2025-03-23T14:57:32+00:00"
         },
         {
             "name": "phpstan/phpstan-deprecation-rules",