diff --git a/src/DateExtension.php b/src/DateExtension.php index 85df1dc..f8bba6a 100644 --- a/src/DateExtension.php +++ b/src/DateExtension.php @@ -111,7 +111,7 @@ protected function getFormat($format) * * @param int|string $datetype * @param int|string $timetype - * @param string $calendar + * @param int $calendar * @return string */ protected function getDateTimePattern($datetype, $timetype, $calendar = \IntlDateFormatter::GREGORIAN) diff --git a/src/PcreExtension.php b/src/PcreExtension.php index 3aaa93d..085e85d 100644 --- a/src/PcreExtension.php +++ b/src/PcreExtension.php @@ -134,7 +134,7 @@ public function getAll($value, $pattern, $group = 0) * * @param array $values * @param string $pattern - * @param strign $flags Optional 'invert' to return entries that do not match the given pattern. + * @param string $flags Optional 'invert' to return entries that do not match the given pattern. * @return array */ public function grep($values, $pattern, $flags = '') diff --git a/src/TextExtension.php b/src/TextExtension.php index 2145a21..b6f6db4 100644 --- a/src/TextExtension.php +++ b/src/TextExtension.php @@ -108,6 +108,7 @@ public function truncate($value, $length, $replace = '...') * @param array $links OUTPUT * @param string $attr * @param string $mode + * @return string */ protected function linkifyHttp($protocol, $text, array &$links, $attr, $mode) { @@ -130,6 +131,7 @@ protected function linkifyHttp($protocol, $text, array &$links, $attr, $mode) * @param string $text * @param array $links OUTPUT * @param string $attr + * @return string */ protected function linkifyMail($text, array &$links, $attr) { @@ -150,6 +152,7 @@ protected function linkifyMail($text, array &$links, $attr) * @param array $links OUTPUT * @param string $attr * @param string $mode + * @return string */ protected function linkifyOther($protocol, $text, array &$links, $attr, $mode) {