diff core/modules/simpletest/src/TestDiscovery.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
line wrap: on
line diff
--- a/core/modules/simpletest/src/TestDiscovery.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/core/modules/simpletest/src/TestDiscovery.php	Tue Jul 10 15:07:59 2018 +0100
@@ -331,7 +331,7 @@
    *   If the class does not have a @group annotation.
    */
   public static function getTestInfo($classname, $doc_comment = NULL) {
-    if (!$doc_comment) {
+    if ($doc_comment === NULL) {
       $reflection = new \ReflectionClass($classname);
       $doc_comment = $reflection->getDocComment();
     }