We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d149e29 commit 810e583Copy full SHA for 810e583
src/ResponseFactory.php
@@ -26,7 +26,7 @@ public function share($key, $value = null)
26
{
27
if (is_array($key)) {
28
$this->sharedProps = array_merge($this->sharedProps, $key);
29
- } elseif($key instanceof Arrayable) {
+ } elseif ($key instanceof Arrayable) {
30
$this->sharedProps = array_merge($this->sharedProps, $key->toArray());
31
} else {
32
Arr::set($this->sharedProps, $key, $value);
0 commit comments