File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 22
33namespace BeyondCode \LaravelFavicon ;
44
5+ use Illuminate \Support \Arr ;
6+
57class Favicon
68{
79 /** @var array */
@@ -14,16 +16,16 @@ public function __construct(array $config)
1416
1517 public function getFaviconText (string $ environment )
1618 {
17- return array_get ($ this ->config , 'enabled_environments. ' .$ environment .'.text ' );
19+ return Arr:: get ($ this ->config , 'enabled_environments. ' .$ environment .'.text ' );
1820 }
1921
2022 public function getFaviconColor (string $ environment )
2123 {
22- return array_get ($ this ->config , 'enabled_environments. ' .$ environment .'.color ' );
24+ return Arr:: get ($ this ->config , 'enabled_environments. ' .$ environment .'.color ' );
2325 }
2426
2527 public function getFaviconBackgroundColor (string $ environment )
2628 {
27- return array_get ($ this ->config , 'enabled_environments. ' .$ environment .'.background_color ' );
29+ return Arr:: get ($ this ->config , 'enabled_environments. ' .$ environment .'.background_color ' );
2830 }
2931}
You can’t perform that action at this time.
0 commit comments