mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-22 01:02:44 +02:00
cs
This commit is contained in:
@ -28,7 +28,7 @@ abstract class FactoryMethod
|
||||
*
|
||||
* @param string $type a generic type
|
||||
*
|
||||
* @return Vehicle a new vehicle
|
||||
* @return VehicleInterface a new vehicle
|
||||
*/
|
||||
abstract protected function createVehicle($type);
|
||||
|
||||
@ -37,7 +37,7 @@ abstract class FactoryMethod
|
||||
*
|
||||
* @param int $type
|
||||
*
|
||||
* @return Vehicle a new vehicle
|
||||
* @return VehicleInterface a new vehicle
|
||||
*/
|
||||
public function create($type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user