Merge pull request #11689 from Quix0r/rewrites/double-quotes-single

Changed more double-quotes to single
This commit is contained in:
Hypolite Petovan
2022-06-25 12:02:01 -04:00
committed by GitHub
14 changed files with 99 additions and 63 deletions

View File

@@ -1103,7 +1103,7 @@ class BBCode
* @param integer $uriid
* @return string
*/
private static function convertImages(string $text, int $simplehtml, int $uriid = 0):string
private static function convertImages(string $text, int $simplehtml, int $uriid = 0): string
{
DI::profiler()->startRecording('rendering');
$return = preg_replace_callback(

View File

@@ -36,7 +36,7 @@ class Plaintext
*
* @todo For Twitter URLs aren't shortened, but they have to be calculated as if.
*/
public static function shorten(string $msg, int $limit, int $uid = 0):string
public static function shorten(string $msg, int $limit, int $uid = 0): string
{
$ellipsis = html_entity_decode("…", ENT_QUOTES, 'UTF-8');