spriebsch               Sat Apr 25 14:26:43 2009 UTC

  Modified files:              
    /phpruntests/src    rtText.php 
  Log:
  Added missing Docblock and added tags to conform with PEAR CS.
  
  
http://cvs.php.net/viewvc.cgi/phpruntests/src/rtText.php?r1=1.4&r2=1.5&diff_format=u
Index: phpruntests/src/rtText.php
diff -u phpruntests/src/rtText.php:1.4 phpruntests/src/rtText.php:1.5
--- phpruntests/src/rtText.php:1.4      Fri Apr 24 08:52:21 2009
+++ phpruntests/src/rtText.php  Sat Apr 25 14:26:43 2009
@@ -1,6 +1,29 @@
 <?php
 /**
- * rtText reads named texts from texts/ subdirectory.
+ * rtText
+ *
+ * @category  Testing
+ * @package   RUNTESTS
+ * @author    Zoe Slattery <z...@php.net>
+ * @author    Stefan Priebsch <sprieb...@php.net>
+ * @copyright 2009 The PHP Group
+ * @license   http://www.php.net/license/3_01.txt PHP License 3.01
+ * @link      http://qa.php.net/
+ */
+
+/**
+ * Reads texts stored in texts/ subdirectory
+ *
+ * rtText reads named texts from texts/ subdirectory
+ * optionally replacing %n placeholders.
+ *
+ * @category  Testing
+ * @package   RUNTESTS
+ * @author    Zoe Slattery <z...@php.net>
+ * @author    Stefan Priebsch <sprieb...@php.net>
+ * @copyright 2009 The PHP Group
+ * @license   http://www.php.net/license/3_01.txt PHP License 3.01
+ * @link      http://qa.php.net/
  */
 class rtText
 {
@@ -10,9 +33,10 @@
      *
      * @param string $name         Text name to return
      * @param array  $replacements Placeholder replacements
+     *
      * @return string
      */
-    public static function get($name, array $replacements = array())
+    public static function get($name, $replacements = array())
     {
         $filename = dirname(__FILE__) . '/texts/' . $name . '.txt';
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to