We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2398b commit ace17c5Copy full SHA for ace17c5
src/Anchu/Ftp/FtpManager.php
@@ -1,5 +1,7 @@
1
<?php namespace Anchu\Ftp;
2
3
+use Illuminate\Support\Arr;
4
+
5
class FtpManager {
6
7
/**
@@ -54,7 +56,7 @@ protected function getConfig($name)
54
56
// If the configuration doesn't exist, we'll throw an exception and bail.
55
57
$connections = $this->app['config']['ftp.connections'];
58
- if (is_null($config = array_get($connections, $name)))
59
+ if (is_null($config = Arr::get($connections, $name)))
60
{
61
throw new \InvalidArgumentException("Ftp [$name] not configured.");
62
}
0 commit comments