diff --git a/docs/img/tutorial/dependencies/image02.png b/docs/img/tutorial/dependencies/image02.png
index b18f05d98..06e45ad4c 100644
Binary files a/docs/img/tutorial/dependencies/image02.png and b/docs/img/tutorial/dependencies/image02.png differ
diff --git a/docs/tutorial/dependencies/classes-as-dependencies.md b/docs/tutorial/dependencies/classes-as-dependencies.md
index 9f3e51c76..a6c9cf057 100644
--- a/docs/tutorial/dependencies/classes-as-dependencies.md
+++ b/docs/tutorial/dependencies/classes-as-dependencies.md
@@ -130,12 +130,9 @@ commons = Depends(CommonQueryParams)
 {!./src/dependencies/tutorial003.py!}
 ```
 
-
 But declaring the type is encouraged as that way your editor will know what will be passed as the parameter `commons`, and then it can help you with code completion, type checks, etc:
 
-```Python hl_lines="19 20 21"
-{!./src/dependencies/tutorial002.py!}
-```
+<img src="/img/tutorial/dependencies/image02.png">
 
 ## Shortcut