From 2c963fcb04a50fc240ef9138973e13c4786454e8 Mon Sep 17 00:00:00 2001 From: Lars Toomre Date: Fri, 28 Sep 2012 10:50:52 -0400 Subject: [PATCH] Issue 1797940 by Lars Toomre: Add @param directives to LanguageUrlRewritingTest::checkUrl(). --- .../language/Tests/LanguageUrlRewritingTest.php | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php index 9e28df6..556a747 100644 --- a/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php @@ -67,6 +67,13 @@ class LanguageUrlRewritingTest extends WebTestBase { * The test is performed with a fixed URL (the default front page) to simply * check that language prefixes are not added to it and that the prefixed URL * is actually not working. + * + * @param string $language + * The language prefix, e.g. 'es'. + * @param string $message1 + * Message to display in assertion that language prefixes are not added. + * @param string $message2 + * The message to display confirming prefixed URL is not working. */ private function checkUrl($language, $message1, $message2) { $options = array('language' => $language, 'script' => ''); -- 1.7.6.msysgit.0