Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / tests / src / Functional / Module / ModuleTestBase.php
index 392f2875e6c679fc1e7dc9dc8e55d468fc3122c7..abdbe03916c63139fbd350d6ccab2e584caed2fc 100644 (file)
@@ -87,8 +87,10 @@ abstract class ModuleTestBase extends BrowserTestBase {
    * @param string $module
    *   The name of the module.
    *
-   * @return bool
-   *   TRUE if configuration has been installed, FALSE otherwise.
+   * @return bool|null
+   *   TRUE if configuration has been installed, FALSE otherwise. Returns NULL
+   *   if the module configuration directory does not exist or does not contain
+   *   any configuration files.
    */
   public function assertModuleConfig($module) {
     $module_config_dir = drupal_get_path('module', $module) . '/' . InstallStorage::CONFIG_INSTALL_DIRECTORY;