Skip to content

Commit e85b926

Browse files
committed
Remove else.
1 parent c94d6f1 commit e85b926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Utilities/Helper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ public static function compileContent($content, array $data, $param)
6767

6868
if (count($arguments) > 0) {
6969
return app()->call($content, [$arguments[0]->name => $param]);
70-
} else {
71-
return $content($param);
7270
}
71+
72+
return $content($param);
7373
}
7474

7575
return $content;

0 commit comments

Comments
 (0)