Skip to content

Commit 130a1f2

Browse files
committed
fix: fix the repository name
1 parent 95375ee commit 130a1f2

File tree

1 file changed

+2
-2
lines changed
  • content/blog/solid-single-responsibility-principle

1 file changed

+2
-2
lines changed

content/blog/solid-single-responsibility-principle/index.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,14 @@ interface ProductLoader {
105105
loadProduct(file: string): Promise<Product[]>
106106
}
107107

108-
interface ProductLoader {
108+
interface Products {
109109
save(product: Product): Promise<void>
110110
}
111111

112112
class ProductImport {
113113
constructor(
114114
private productLoader: ProductLoader,
115-
private products: ProductLoader,
115+
private products: Products,
116116
) {}
117117
}
118118
```

0 commit comments

Comments
 (0)