Skip to content

Commit ace17c5

Browse files
Update array_get() to Arr::get()
1 parent ff2398b commit ace17c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Anchu/Ftp/FtpManager.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php namespace Anchu\Ftp;
22

3+
use Illuminate\Support\Arr;
4+
35
class FtpManager {
46

57
/**
@@ -54,7 +56,7 @@ protected function getConfig($name)
5456
// If the configuration doesn't exist, we'll throw an exception and bail.
5557
$connections = $this->app['config']['ftp.connections'];
5658

57-
if (is_null($config = array_get($connections, $name)))
59+
if (is_null($config = Arr::get($connections, $name)))
5860
{
5961
throw new \InvalidArgumentException("Ftp [$name] not configured.");
6062
}

0 commit comments

Comments
 (0)