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

Marks Zend\Writer\Writer::lcfirst method as deprecated #101

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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