fix style errors

This commit is contained in:
lubiana 2022-11-08 19:50:04 +01:00
parent 998804c0c1
commit cd9cc89726
No known key found for this signature in database
4 changed files with 3 additions and 1 deletions

View file

@ -36,6 +36,7 @@ final class DispatcherFactory
if ($data === false) {
return [];
}
/** @var Listener[] $listeners */
$listeners = unserialize($data);
return $listeners;

View file

@ -72,6 +72,7 @@ final class Finder
if ($data === false) {
return;
}
/** @var class-string[] $result */
$result = unserialize($data);
$this->classNames = $result;

View file

@ -5,7 +5,6 @@ namespace Lubian\AttributeMagic\Infrastructure\Route;
final class Handler
{
/**
* @param string $path
* @param non-empty-string $handlerClass
* @param non-empty-string $handlerMethod
*/

View file

@ -21,6 +21,7 @@ final class CachedResponse
/** @var Response|null $response */
$response = unserialize($serialized);
$event->response = $response;
$event->stopped = true;
}