mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-12 09:54:09 +02:00
PHP7 SimpleFactory
This commit is contained in:
@@ -2,17 +2,9 @@
|
||||
|
||||
namespace DesignPatterns\Creational\SimpleFactory;
|
||||
|
||||
/**
|
||||
* Bicycle is a bicycle.
|
||||
*/
|
||||
class Bicycle implements VehicleInterface
|
||||
class Bicycle
|
||||
{
|
||||
/**
|
||||
* @param mixed $destination
|
||||
*
|
||||
* @return mixed|void
|
||||
*/
|
||||
public function driveTo($destination)
|
||||
public function driveTo(string $destination)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user