@@ -29,8 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | return |
| 31 | 31 | \is_int($time) ? |
| 32 | - \Carbon\Carbon::createFromTimestamp($time, $tz) : |
|
| 33 | - new \Carbon\Carbon($time, $tz); |
|
| 32 | + \Carbon\Carbon::createFromTimestamp($time, $tz) : new \Carbon\Carbon($time, $tz); |
|
| 34 | 33 | } |
| 35 | 34 | |
| 36 | 35 | /** |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * @param array $args |
| 40 | 40 | * @return mixed |
| 41 | 41 | */ |
| 42 | - function (string $methodName, ...$args) { |
|
| 42 | + function(string $methodName, ...$args) { |
|
| 43 | 43 | if (\method_exists($this, $methodName)) { |
| 44 | 44 | return $this->$methodName(...$args); |
| 45 | 45 | } |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * @return mixed |
| 89 | 89 | */ |
| 90 | - function () use ($propertyName) { |
|
| 90 | + function() use ($propertyName) { |
|
| 91 | 91 | if (\property_exists($this, $propertyName)) { |
| 92 | 92 | return $this->$propertyName; |
| 93 | 93 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | && preg_match(self::CGROUP_PATTERN, $content)) { |
| 27 | 27 | return true; |
| 28 | 28 | } |
| 29 | - if(isset($content)) { |
|
| 29 | + if (isset($content)) { |
|
| 30 | 30 | var_dump('Contents: ' . $content); |
| 31 | 31 | } |
| 32 | 32 | return false; |