diff vendor/zendframework/zend-feed/src/Writer/Writer.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents 5311817fb629
children
line wrap: on
line diff
--- a/vendor/zendframework/zend-feed/src/Writer/Writer.php	Thu Feb 28 13:11:55 2019 +0000
+++ b/vendor/zendframework/zend-feed/src/Writer/Writer.php	Thu May 09 15:34:47 2019 +0100
@@ -205,10 +205,15 @@
             );
     }
 
+    /**
+     * @deprecated This method is deprecated and will be removed with version 3.0
+     *     Use PHP's lcfirst function instead. @see https://php.net/manual/function.lcfirst.php
+     * @param string $str
+     * @return string
+     */
     public static function lcfirst($str)
     {
-        $str[0] = strtolower($str[0]);
-        return $str;
+        return lcfirst($str);
     }
 
     /**