phpcs - Fix error, "Expected 1 newline at end of file; XXX found".
[civicrm-core.git] / CRM / Core / Smarty / plugins / modifier.substring.php
index 75747402db3f910b7a62b363b309e8987bf6e832..c2e7cb755629b44cd50b1e90497ec29f3c2565db 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
    * Version: 0.1
    * Date: 2006-16-02
    * Author: Thorsten Albrecht <thor_REMOVE.THIS_@wolke7.net>
-   * Purpose: "substring" allows you to retrieve a small part (substring) of a string. 
-   * Notes: The substring is specified by giving the start  position and the length. 
+   * Purpose: "substring" allows you to retrieve a small part (substring) of a string.
+   * Notes: The substring is specified by giving the start  position and the length.
    * Unlike the original function substr() in PHP the position of the characters
    * in the string starts at 1 (not at 0 as usual in php).
    * Example smarty code:
-   *   {$my_string|substring:2:4} 
+   *   {$my_string|substring:2:4}
    *   returns substring from character 2 until character 6
    * @link based on substr(): http://www.zend.com/manual/function.substr.php
    * @param string
@@ -58,4 +58,3 @@
 function smarty_modifier_substring($string, $position, $length) {
   return substr($string, $position, $length);
 }
-