@@ -75,7 +75,7 @@ |
||
| 75 | 75 | if (is_callable($this->template)) { |
| 76 | 76 | return call_user_func($this->template); |
| 77 | 77 | } |
| 78 | - $callback = function ($matches) { |
|
| 78 | + $callback = function($matches) { |
|
| 79 | 79 | return ArrayHelper::getValue($this->owner, $matches[1]); |
| 80 | 80 | }; |
| 81 | 81 | return preg_replace_callback('/\\{([\w\._]+)\\}/', $callback, $this->template); |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | $middlewareChain = array_reduce( |
| 20 | 20 | array_reverse($this->middlewares), |
| 21 | - static function (Closure $next, Middleware $middleware) { |
|
| 21 | + static function(Closure $next, Middleware $middleware) { |
|
| 22 | 22 | return static fn (MessageBuilderInterface $builder): MessageBuilderInterface => $middleware->handle($builder, $next); |
| 23 | 23 | }, |
| 24 | 24 | static function(MessageBuilderInterface $builder): MessageBuilderInterface { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | public function withEntityId($id): self |
| 27 | 27 | { |
| 28 | 28 | $new = clone $this; |
| 29 | - $new->message->entityId = (string)$id; |
|
| 29 | + $new->message->entityId = (string) $id; |
|
| 30 | 30 | return $new; |
| 31 | 31 | } |
| 32 | 32 | |