Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
71712d445f |
@@ -27,16 +27,15 @@ class CustomBladeServiceProvider extends ServiceProvider
|
||||
|
||||
private function resolve(string $content,string $expression): string
|
||||
{
|
||||
if (str_contains($expression,','))
|
||||
if (str_contains($expression,',')) {
|
||||
[$type,$arguments] = explode(',',$expression,2);
|
||||
$arguments = explode('|',$arguments);
|
||||
|
||||
else {
|
||||
} else {
|
||||
$type = $expression;
|
||||
$arguments = '';
|
||||
$arguments = [];
|
||||
}
|
||||
|
||||
$arguments = explode('|',$arguments);
|
||||
|
||||
$return = collect();
|
||||
$urls = collect();
|
||||
|
||||
|
Reference in New Issue
Block a user