mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
removed ...Interface suffix and added method to interface
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
namespace DesignPatterns\Creational\StaticFactory;
|
||||
|
||||
class FormatString implements FormatterInterface
|
||||
class FormatString implements Formatter
|
||||
{
|
||||
public function format(string $input): string
|
||||
{
|
||||
return $input;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user