@@ -89,18 +89,18 @@ |
||
89 | 89 | { |
90 | 90 | $config = []; |
91 | 91 | foreach ([ |
92 | - 'host', |
|
93 | - 'port', |
|
94 | - 'username', |
|
95 | - 'password', |
|
96 | - 'ssl', |
|
97 | - 'timeout', |
|
98 | - 'root', |
|
99 | - 'permPrivate', |
|
100 | - 'permPublic', |
|
101 | - 'passive', |
|
102 | - 'transferMode', |
|
103 | - ] as $name) { |
|
92 | + 'host', |
|
93 | + 'port', |
|
94 | + 'username', |
|
95 | + 'password', |
|
96 | + 'ssl', |
|
97 | + 'timeout', |
|
98 | + 'root', |
|
99 | + 'permPrivate', |
|
100 | + 'permPublic', |
|
101 | + 'passive', |
|
102 | + 'transferMode', |
|
103 | + ] as $name) { |
|
104 | 104 | if ($this->$name !== null) { |
105 | 105 | $config[$name] = $this->$name; |
106 | 106 | } |
@@ -90,16 +90,16 @@ |
||
90 | 90 | $config = []; |
91 | 91 | |
92 | 92 | foreach ([ |
93 | - 'host', |
|
94 | - 'port', |
|
95 | - 'username', |
|
96 | - 'password', |
|
97 | - 'timeout', |
|
98 | - 'root', |
|
99 | - 'privateKey', |
|
100 | - 'permPrivate', |
|
101 | - 'permPublic', |
|
102 | - ] as $name) { |
|
93 | + 'host', |
|
94 | + 'port', |
|
95 | + 'username', |
|
96 | + 'password', |
|
97 | + 'timeout', |
|
98 | + 'root', |
|
99 | + 'privateKey', |
|
100 | + 'permPrivate', |
|
101 | + 'permPublic', |
|
102 | + ] as $name) { |
|
103 | 103 | if ($this->$name !== null) { |
104 | 104 | $config[$name] = $this->$name; |
105 | 105 | } |
@@ -70,7 +70,7 @@ |
||
70 | 70 | { |
71 | 71 | $contents = $this->getForStorage(); |
72 | 72 | |
73 | - if (! is_null($this->expire)) { |
|
73 | + if (!is_null($this->expire)) { |
|
74 | 74 | $this->cache->set($this->key, $contents, $this->expire); |
75 | 75 | } else { |
76 | 76 | $this->cache->set($this->key, $contents); |