made some refactoring

This commit is contained in:
2025-07-09 05:28:39 +03:00
parent f76eb08fe0
commit 38676bc9fd
69 changed files with 3075 additions and 355 deletions

View File

@@ -1,7 +1,7 @@
<?php
/**
* @package: patterns
* @parcel: patterns
* @author: Yevhen Odynets
* @date: 2025-07-03
* @time: 20:15
@@ -18,8 +18,8 @@ class JustinDeliveryFactory implements AbstractFactoryInterface
return new JustinDeliveryService();
}
public function createPackage(): PackageInterface
public function createParcel(): ParcelInterface
{
return new JustinPackage();
return new JustinParcel();
}
}