@@ -15,6 +15,6 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function format(string $string): string |
| 17 | 17 | { |
| 18 | - return date('Y-m-d', (int)$string); |
|
| 18 | + return date('Y-m-d', (int) $string); |
|
| 19 | 19 | } |
| 20 | 20 | } |
@@ -13,6 +13,6 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function get(): string |
| 15 | 15 | { |
| 16 | - return $this->formatter->format((string)time()); |
|
| 16 | + return $this->formatter->format((string) time()); |
|
| 17 | 17 | } |
| 18 | 18 | } |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | $stack[] = $this->arithmetic($stack, $item); |
| 52 | 52 | break; |
| 53 | 53 | case is_numeric($item): // Number |
| 54 | - $stack[] = new Number((int)$item); |
|
| 54 | + $stack[] = new Number((int) $item); |
|
| 55 | 55 | break; |
| 56 | 56 | default: // Variable. |
| 57 | 57 | $stack[] = new Variable($item); |
@@ -15,6 +15,6 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function format($value): int |
| 17 | 17 | { |
| 18 | - return (int)$value; |
|
| 18 | + return (int) $value; |
|
| 19 | 19 | } |
| 20 | 20 | } |
@@ -15,6 +15,6 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | public function format($value): string |
| 17 | 17 | { |
| 18 | - return (string)trim($value); |
|
| 18 | + return (string) trim($value); |
|
| 19 | 19 | } |
| 20 | 20 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | public function createNotebook(string $brand): NotebookInterface |
| 19 | 19 | { |
| 20 | 20 | $brand = strtolower(trim($brand)); |
| 21 | - switch ((int)$brand) { |
|
| 21 | + switch ((int) $brand) { |
|
| 22 | 22 | case parent::LOW_CONFIG: |
| 23 | 23 | return new MacBookAir(); |
| 24 | 24 | case parent::MEDIUM_CONFIG: |