PHP7 Delegation

This commit is contained in:
Dominik Liebler
2016-09-22 15:28:46 +02:00
parent df6fadf517
commit 2b1de13391
5 changed files with 9 additions and 31 deletions

View File

@@ -4,7 +4,7 @@ namespace DesignPatterns\More\Delegation;
class JuniorDeveloper
{
public function writeBadCode()
public function writeBadCode(): string
{
return 'Some junior developer generated code...';
}