Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #101 from froschdesign/deprecation/lcfirst
Browse files Browse the repository at this point in the history
Marks Zend\Writer\Writer::lcfirst method as deprecated
  • Loading branch information
weierophinney committed Mar 5, 2019
2 parents a2d17f8 + 1046e5b commit fc45bee
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Writer/Writer.php
Expand Up @@ -205,6 +205,12 @@ public static function registerCoreExtensions()
);
}

/**
* @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]);
Expand Down

0 comments on commit fc45bee

Please sign in to comment.