1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

[ticket/16955] Clean up textformatter and textreparser

PHPBB3-16955
This commit is contained in:
Marc Alexander
2022-12-26 14:56:17 +01:00
parent 60c165c3d0
commit 6ad0b533d9
8 changed files with 42 additions and 35 deletions

View File

@@ -132,9 +132,9 @@ class manager
* If there is no reparser with the specified name, null is returned.
*
* @param string $name Name of the reparser to look up.
* @return string A reparser service name, or null.
* @return string|null A reparser service name, or null.
*/
public function find_reparser($name)
public function find_reparser(string $name)
{
foreach ($this->reparsers as $service => $reparser)
{