Skip to content

Conversation

alexander-schranz
Copy link
Member

Accidentally introduced a break in: #47 that the HttpCache instance which example in Sulu is created in the Front Controller is not longer supported: https://github.com/chirimoya/sulu-skeleton-runtime/blob/30712fcfe63b14a20b636ff871e1ff02c9ec08d7/public/website.php#L23

@alexander-schranz alexander-schranz force-pushed the bugfix/http-cache-support branch from feb1d2f to e1d6e88 Compare June 20, 2021 15:37
Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Last thing

@@ -30,13 +32,21 @@ class Runner implements RunnerInterface
*/
private $sessionOptions;

public function __construct(KernelInterface $kernel, ?HttpFoundationFactoryInterface $httpFoundationFactory = null, ?HttpMessageFactoryInterface $httpMessageFactory = null)
public function __construct(HttpKernelInterface $kernel, ?HttpFoundationFactoryInterface $httpFoundationFactory = null, ?HttpMessageFactoryInterface $httpMessageFactory = null)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm.. Lets drop this type hint and add HttpKernelInterface|KernelInterface in the doc block

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for fixing the typehint!

@Nyholm Nyholm merged commit 1868665 into php-runtime:main Jul 2, 2021
@Nyholm
Copy link
Member

Nyholm commented Jul 2, 2021

Thank you

@alexander-schranz alexander-schranz deleted the bugfix/http-cache-support branch July 2, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants