mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-18 04:31:16 +02:00
Builder :: added missing return types
This commit is contained in:
@@ -8,13 +8,13 @@ use DesignPatterns\Creational\Builder\Parts\Vehicle;
|
||||
|
||||
interface Builder
|
||||
{
|
||||
public function createVehicle();
|
||||
public function createVehicle(): void;
|
||||
|
||||
public function addWheel();
|
||||
public function addWheel(): void;
|
||||
|
||||
public function addEngine();
|
||||
public function addEngine(): void;
|
||||
|
||||
public function addDoors();
|
||||
public function addDoors(): void;
|
||||
|
||||
public function getVehicle(): Vehicle;
|
||||
}
|
||||
|
Reference in New Issue
Block a user