diff --git a/composer.json b/composer.json
index 6119804..1111cf0 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
 	},
 	"require-dev": {
 		"nextcloud/coding-standard": "^1.3.2",
-		"nextcloud/ocp": "^31.0.0",
+		"nextcloud/ocp": "^31.0.1",
 		"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 8967327..85747bb 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": "63622fc2c55144c7b4334bfefb4ae63b",
+    "content-hash": "ac0d8fa52beb9ec5e4dbff2f2a5597f6",
     "packages": [],
     "packages-dev": [
         {
@@ -97,16 +97,16 @@
         },
         {
             "name": "nextcloud/ocp",
-            "version": "v31.0.0",
+            "version": "v31.0.1",
             "source": {
                 "type": "git",
                 "url": "https://github.com/nextcloud-deps/ocp.git",
-                "reference": "a1bbdf6404904379aad66ed6487218b0f264eead"
+                "reference": "d8f9b556898f11d26f5884ea6754b840fa02335e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/a1bbdf6404904379aad66ed6487218b0f264eead",
-                "reference": "a1bbdf6404904379aad66ed6487218b0f264eead",
+                "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/d8f9b556898f11d26f5884ea6754b840fa02335e",
+                "reference": "d8f9b556898f11d26f5884ea6754b840fa02335e",
                 "shasum": ""
             },
             "require": {
@@ -139,9 +139,9 @@
             "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.0"
+                "source": "https://github.com/nextcloud-deps/ocp/tree/v31.0.1"
             },
-            "time": "2025-02-20T00:44:12+00:00"
+            "time": "2025-03-07T00:46:02+00:00"
         },
         {
             "name": "nextcloud/rector",