File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,7 @@ private function _loadSettingsFromArray($settings)
288288 *
289289 * @return bool True if the settings info is valid
290290 * @throws OneLogin_Saml2_Error
291+ * @suppress PhanUndeclaredVariable
291292 */
292293 private function _loadSettingsFromFile ()
293294 {
@@ -301,13 +302,15 @@ private function _loadSettingsFromFile()
301302 );
302303 }
303304
304- include $ filename ;
305+ /** @var array $settings */
306+ include $ filename ;
305307
306308 // Add advance_settings if exists
307309
308310 $ advancedFilename = $ this ->getConfigPath ().'advanced_settings.php ' ;
309311
310312 if (file_exists ($ advancedFilename )) {
313+ /** @var array $advancedSettings */
311314 include $ advancedFilename ;
312315 $ settings = array_merge ($ settings , $ advancedSettings );
313316 }
You can’t perform that action at this time.
0 commit comments