Skip to content

Commit

Permalink
✏️ Fixed wrong call to method share
Browse files Browse the repository at this point in the history
When calling the method `share`, the wrong method `shared` is called on the Factory. This commit aim to fix that.
  • Loading branch information
amoutonbrady authored Jul 31, 2019
1 parent 8dc7d31 commit f2022bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function file($path, $data = [], $mergeData = []): View

public function share($key, $value = null)
{
return $this->factory->shared($key, $value);
return $this->factory->share($key, $value);
}

public function composer($views, $callback): array
Expand Down

0 comments on commit f2022bc

Please sign in to comment.