lib/Cuke4Php.php in cuke4php-0.9.4 vs lib/Cuke4Php.php in cuke4php-0.9.5

- old
+ new

@@ -66,9 +66,11 @@ continue; } preg_match("/(@.+)/im", $sComment, $aMatches); if (array_key_exists(1, $aMatches)) { $aMethod['tags'] = explode(" ", str_replace("@", "", $aMatches[1])); + } else { + $aMethod['tags'] = array(); } if (substr($oMethod->name, 0, 6) === "before") { $this->aWorld['before'][] = $aMethod; continue; } \ No newline at end of file