Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / system / src / Tests / Module / ModuleTestBase.php
index a0a4ed226a925bd8351af0ac46f5e8fd3c9637d1..cc5a7ef2706fe06d54498aea0267a93617d5bea3 100644 (file)
@@ -90,8 +90,10 @@ abstract class ModuleTestBase extends WebTestBase {
    * @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;