diff --git a/src/pages/development/components/declarative-schema/patches.md b/src/pages/development/components/declarative-schema/patches.md
index f732d1703..85e64cd9b 100644
--- a/src/pages/development/components/declarative-schema/patches.md
+++ b/src/pages/development/components/declarative-schema/patches.md
@@ -82,6 +82,7 @@ class DummyPatch
         //Please note, that one patch is responsible only for one setup version
         //So one UpgradeData can consist of few data patches
         $this->moduleDataSetup->getConnection()->endSetup();
+        return $this;
     }
 
     /**