Skip to content

Commit 246484b

Browse files
Avoid legacy global helper function
1 parent 2ceeaf0 commit 246484b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PusherFactory.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace Pusher\Laravel;
1515

16+
use Illuminate\Support\Arr;
1617
use InvalidArgumentException;
1718
use Pusher\Pusher;
1819

@@ -70,7 +71,7 @@ protected function getConfig(array $config): array
7071
}
7172
}
7273

73-
return array_only($config, $keys);
74+
return Arr::only($config, $keys);
7475
}
7576

7677
/**

0 commit comments

Comments
 (0)