Skip to content

Commit

Permalink
Merge pull request #37 from shaydy95/patch-1
Browse files Browse the repository at this point in the history
Update for Laravel > 6
  • Loading branch information
datashaman authored Dec 6, 2019
2 parents bd1361d + 149ade6 commit 2ab952c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chencha/Share/Share.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected function generateUrl($serviceId) {
$vars[$varName] = $this->$varName;
}

$view = array_get($vars['service'], 'view', 'social-share::default');
$view = \Arr::get($vars['service'], 'view', 'social-share::default');
return trim(View::make($view, $vars)->render());
}

Expand Down

0 comments on commit 2ab952c

Please sign in to comment.