diff --git a/composer.json b/composer.json
index 1111cf0..2398451 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
 	},
 	"require-dev": {
 		"nextcloud/coding-standard": "^1.3.2",
-		"nextcloud/ocp": "^31.0.1",
+		"nextcloud/ocp": "^31.0.2",
 		"nextcloud/rector": "^0.3.1",
 		"phpstan/phpstan": "~1.12.21",
 		"phpstan/phpstan-deprecation-rules": "~1.2.1",
diff --git a/composer.lock b/composer.lock
index 85747bb..436d84f 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": "ac0d8fa52beb9ec5e4dbff2f2a5597f6",
+    "content-hash": "be087eacf78f4b4ec37ac0859f6bc989",
     "packages": [],
     "packages-dev": [
         {
@@ -97,7 +97,7 @@
         },
         {
             "name": "nextcloud/ocp",
-            "version": "v31.0.1",
+            "version": "v31.0.2",
             "source": {
                 "type": "git",
                 "url": "https://github.com/nextcloud-deps/ocp.git",
@@ -139,7 +139,7 @@
             "description": "Composer package containing Nextcloud's public OCP API and the unstable NCU API",
             "support": {
                 "issues": "https://github.com/nextcloud-deps/ocp/issues",
-                "source": "https://github.com/nextcloud-deps/ocp/tree/v31.0.1"
+                "source": "https://github.com/nextcloud-deps/ocp/tree/v31.0.2"
             },
             "time": "2025-03-07T00:46:02+00:00"
         },