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 6f2b4bf commit c61d3c1Copy full SHA for c61d3c1
1 file changed
lib/Saml2/Settings.php
@@ -288,6 +288,7 @@ private function _loadSettingsFromArray($settings)
288
*
289
* @return bool True if the settings info is valid
290
* @throws OneLogin_Saml2_Error
291
+ * @suppress PhanUndeclaredVariable
292
*/
293
private function _loadSettingsFromFile()
294
{
@@ -301,13 +302,15 @@ private function _loadSettingsFromFile()
301
302
);
303
}
304
- include $filename;
305
+ /** @var array $settings */
306
+ include $filename;
307
308
// Add advance_settings if exists
309
310
$advancedFilename = $this->getConfigPath().'advanced_settings.php';
311
312
if (file_exists($advancedFilename)) {
313
+ /** @var array $advancedSettings */
314
include $advancedFilename;
315
$settings = array_merge($settings, $advancedSettings);
316
0 commit comments