fix style errors
This commit is contained in:
parent
998804c0c1
commit
cd9cc89726
4 changed files with 3 additions and 1 deletions
|
@ -36,6 +36,7 @@ final class DispatcherFactory
|
|||
if ($data === false) {
|
||||
return [];
|
||||
}
|
||||
|
||||
/** @var Listener[] $listeners */
|
||||
$listeners = unserialize($data);
|
||||
return $listeners;
|
||||
|
|
|
@ -72,6 +72,7 @@ final class Finder
|
|||
if ($data === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
/** @var class-string[] $result */
|
||||
$result = unserialize($data);
|
||||
$this->classNames = $result;
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -21,6 +21,7 @@ final class CachedResponse
|
|||
/** @var Response|null $response */
|
||||
$response = unserialize($serialized);
|
||||
$event->response = $response;
|
||||
|
||||
$event->stopped = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue