@@ -4,8 +4,8 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace DesignPattern\Structural\Facade; |
6 | 6 | |
7 | -class MacOS implements MacOSInterface |
|
8 | -{ |
|
7 | +class MacOS implements MacOSInterface |
|
8 | +{ |
|
9 | 9 | /** |
10 | 10 | * @var string |
11 | 11 | */ |
@@ -44,9 +44,9 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @return mixed |
46 | 46 | */ |
47 | - protected function execute($command) |
|
48 | - { |
|
49 | - if (in_array($command, ['restart', 'shutdown'], true)) { |
|
47 | + protected function execute($command) |
|
48 | + { |
|
49 | + if (in_array($command, ['restart', 'shutdown'], true)) { |
|
50 | 50 | return sprintf('The system is executing the %s command...', $command); |
51 | 51 | } |
52 | 52 |