Permalink
Browse files

Fix calling create() without second parameter

  • Loading branch information...
Lee Willis
Lee Willis committed Feb 9, 2018
1 parent 7042a5b commit d5289cd9cd2c66b141c74d0662668ef73e294d73
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/CachedEmbed.php
View
@@ -7,7 +7,7 @@
class CachedEmbed
{
public static function create($url, $args, $expiry = null)
public static function create($url, $args = [], $expiry = null)
{
$store = config('cachedembed.store', '');
$expiry = $expiry ?? config('cachedembed.expiry', 43200);

0 comments on commit d5289cd

Please sign in to comment.