返り値の型を指定

This commit is contained in:
eai04191 2019-09-13 01:05:09 +09:00
parent 1edc70fc4c
commit d6e0512dae

View File

@ -29,7 +29,7 @@ class FanzaResolver implements Resolver
*
* @return array 処理されたarray
*/
public function array_finish(array $array)
public function array_finish(array $array): array
{
$array = array_map('trim', $array);
$array = array_map((function ($value) {