@@ -18,7 +18,7 @@ |
||
18 | 18 | * @param Error|null $error |
19 | 19 | * @return Error |
20 | 20 | */ |
21 | - public static function of ($message, $code = 0, Error $error = null) |
|
21 | + public static function of($message, $code = 0, Error $error = null) |
|
22 | 22 | { |
23 | 23 | return new Error($message, $code, $error); |
24 | 24 | } |
@@ -53,7 +53,7 @@ |
||
53 | 53 | */ |
54 | 54 | public static function operation($name, $signatures, $fn = null) |
55 | 55 | { |
56 | - if (! is_array($signatures)) { |
|
56 | + if (!is_array($signatures)) { |
|
57 | 57 | $signatures = [$signatures]; |
58 | 58 | } |
59 | 59 | foreach ($signatures as $signature) { |
@@ -8,14 +8,14 @@ |
||
8 | 8 | */ |
9 | 9 | class Placeholder { |
10 | 10 | private static $instance; |
11 | - private function __construct(){} |
|
11 | + private function __construct() {} |
|
12 | 12 | public static function get() |
13 | 13 | { |
14 | - if(static::$instance === null) |
|
14 | + if (static::$instance === null) |
|
15 | 15 | static::$instance = new Placeholder; |
16 | 16 | return static::$instance; |
17 | 17 | } |
18 | - public function __toString(){ |
|
18 | + public function __toString() { |
|
19 | 19 | return '__'; |
20 | 20 | } |
21 | 21 | } |