drop php7.3 support, make use of 7.4 features
This commit is contained in:
@ -96,13 +96,13 @@ class BBCodeTest extends ShimmiePHPUnitTestCase
|
||||
);
|
||||
}
|
||||
|
||||
private function filter($in)
|
||||
private function filter($in): string
|
||||
{
|
||||
$bb = new BBCode();
|
||||
return $bb->format($in);
|
||||
}
|
||||
|
||||
private function strip($in)
|
||||
private function strip($in): string
|
||||
{
|
||||
$bb = new BBCode();
|
||||
return $bb->strip($in);
|
||||
|
Reference in New Issue
Block a user