Skip to content

Commit 3d3417a

Browse files
author
Dominik Liebler
committed
Merge pull request DesignPatternsPHP#208 from pjurasek/patch-1
Typo
2 parents f1d0c70 + 730316c commit 3d3417a

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

Structural/Facade/BiosInterface.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@
33
namespace DesignPatterns\Structural\Facade;
44

55
/**
6-
* Class BiosInterface.
6+
* Interface BiosInterface.
77
*/
88
interface BiosInterface
99
{
1010
/**
11-
* execute the BIOS.
11+
* Execute the BIOS.
1212
*/
1313
public function execute();
1414

1515
/**
16-
* wait for halt.
16+
* Wait for halt.
1717
*/
1818
public function waitForKeyPress();
1919

2020
/**
21-
* launches the OS.
21+
* Launches the OS.
2222
*
2323
* @param OsInterface $os
2424
*/
2525
public function launch(OsInterface $os);
2626

2727
/**
28-
* power down BIOS.
28+
* Power down BIOS.
2929
*/
3030
public function powerDown();
3131
}

Structural/Facade/Facade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace DesignPatterns\Structural\Facade;
44

55
/**
6-
*
6+
* Class Facade.
77
*/
88
class Facade
99
{
@@ -31,7 +31,7 @@ public function __construct(BiosInterface $bios, OsInterface $os)
3131
}
3232

3333
/**
34-
* turn on the system.
34+
* Turn on the system.
3535
*/
3636
public function turnOn()
3737
{
@@ -41,7 +41,7 @@ public function turnOn()
4141
}
4242

4343
/**
44-
* turn off the system.
44+
* Turn off the system.
4545
*/
4646
public function turnOff()
4747
{

Structural/Facade/OsInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
namespace DesignPatterns\Structural\Facade;
44

55
/**
6-
* Class OsInterface.
6+
* Interface OsInterface.
77
*/
88
interface OsInterface
99
{
1010
/**
11-
* halt the OS.
11+
* Halt the OS.
1212
*/
1313
public function halt();
1414
}

Structural/Facade/Tests/FacadeTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public function getComputer()
3434
}
3535

3636
/**
37+
* @param Computer $facade
38+
* @param OsInterface $os
3739
* @dataProvider getComputer
3840
*/
3941
public function testComputerOn(Computer $facade, OsInterface $os)

0 commit comments

Comments
 (0)