mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-01-17 21:48:59 +01:00
Fix formatting (new line before comment)
This commit is contained in:
parent
b4599ec67c
commit
63220c73c6
@ -8,6 +8,7 @@ class JuniorDeveloper
|
||||
{
|
||||
return 'Some junior developer generated code...';
|
||||
}
|
||||
|
||||
/**
|
||||
* Junior is authorized to call method on TeamLead (real delegation)
|
||||
*/
|
||||
|
@ -26,6 +26,7 @@ class TeamLead
|
||||
//note that we are passing $this from teamLead context
|
||||
return $this->junior->writeReallyBadCode($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Junior can call this method
|
||||
*/
|
||||
|
@ -17,6 +17,7 @@ class DelegationTest extends TestCase
|
||||
|
||||
$this->assertEquals($junior->writeBadCode(), $teamLead->writeCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @test
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user