File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ private function fixAwsCredentialsConfig(): void
162
162
continue ;
163
163
}
164
164
// If a different key is in the config than in the environment variables
165
- if (isset ($ connection ['key ' ]) && $ connection ['key ' ] !== $ accessKeyId ) {
165
+ if (! isset ($ connection ['key ' ]) || $ connection ['key ' ] !== $ accessKeyId ) {
166
166
continue ;
167
167
}
168
168
@@ -175,7 +175,7 @@ private function fixAwsCredentialsConfig(): void
175
175
continue ;
176
176
}
177
177
// If a different key is in the config than in the environment variables
178
- if (isset ($ disk ['key ' ]) && $ disk ['key ' ] !== $ accessKeyId ) {
178
+ if (! isset ($ disk ['key ' ]) || $ disk ['key ' ] !== $ accessKeyId ) {
179
179
continue ;
180
180
}
181
181
@@ -188,7 +188,7 @@ private function fixAwsCredentialsConfig(): void
188
188
continue ;
189
189
}
190
190
// If a different key is in the config than in the environment variables
191
- if (isset ($ store ['key ' ]) && $ store ['key ' ] !== $ accessKeyId ) {
191
+ if (! isset ($ store ['key ' ]) || $ store ['key ' ] !== $ accessKeyId ) {
192
192
continue ;
193
193
}
194
194
You can’t perform that action at this time.
0 commit comments