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) {
|
if ($data === false) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var Listener[] $listeners */
|
/** @var Listener[] $listeners */
|
||||||
$listeners = unserialize($data);
|
$listeners = unserialize($data);
|
||||||
return $listeners;
|
return $listeners;
|
||||||
|
|
|
@ -72,6 +72,7 @@ final class Finder
|
||||||
if ($data === false) {
|
if ($data === false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var class-string[] $result */
|
/** @var class-string[] $result */
|
||||||
$result = unserialize($data);
|
$result = unserialize($data);
|
||||||
$this->classNames = $result;
|
$this->classNames = $result;
|
||||||
|
|
|
@ -5,7 +5,6 @@ namespace Lubian\AttributeMagic\Infrastructure\Route;
|
||||||
final class Handler
|
final class Handler
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param string $path
|
|
||||||
* @param non-empty-string $handlerClass
|
* @param non-empty-string $handlerClass
|
||||||
* @param non-empty-string $handlerMethod
|
* @param non-empty-string $handlerMethod
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -21,6 +21,7 @@ final class CachedResponse
|
||||||
/** @var Response|null $response */
|
/** @var Response|null $response */
|
||||||
$response = unserialize($serialized);
|
$response = unserialize($serialized);
|
||||||
$event->response = $response;
|
$event->response = $response;
|
||||||
|
|
||||||
$event->stopped = true;
|
$event->stopped = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue