mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-28 23:39:24 +02:00
PHP7 Delegation
This commit is contained in:
@@ -4,7 +4,7 @@ namespace DesignPatterns\More\Delegation;
|
||||
|
||||
class JuniorDeveloper
|
||||
{
|
||||
public function writeBadCode()
|
||||
public function writeBadCode(): string
|
||||
{
|
||||
return 'Some junior developer generated code...';
|
||||
}
|
||||
|
Reference in New Issue
Block a user