diff --git a/docs/configuration.md b/docs/configuration.md
index 145f2eea0d8c222a2da056cad6adec1adfa4dd10..114a83785350cd7ed3e52119cb802bbc07752d16 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -21,12 +21,9 @@ Example of a hook resource content:
 return [
 	MyCoolTitleChanger::class,
 	AnotherHookAction::class,
-	function ( Dependency $dep ) {
+	function ( Migarator $migrator ) {
 		// You can even use a closure, to execute simple actions.
 		// Arguments are injected by DI container.
-		$dep->one_off_action();
-	},
-	function ( Migarator $migrator ) {
 		$migrator->migrate();
 	}
 ];