Update dependencies

This commit is contained in:
Chris Hunt
2024-02-16 21:36:54 +00:00
parent 22d7a59e59
commit d52ae0d3c3
9569 changed files with 460443 additions and 282416 deletions

View File

@@ -25,12 +25,14 @@ abstract class RoutableFragmentRenderer implements FragmentRendererInterface
/**
* @internal
*/
protected $fragmentPath = '/_fragment';
protected string $fragmentPath = '/_fragment';
/**
* Sets the fragment path that triggers the fragment listener.
*
* @see FragmentListener
*
* @return void
*/
public function setFragmentPath(string $path)
{
@@ -42,10 +44,8 @@ abstract class RoutableFragmentRenderer implements FragmentRendererInterface
*
* @param bool $absolute Whether to generate an absolute URL or not
* @param bool $strict Whether to allow non-scalar attributes or not
*
* @return string
*/
protected function generateFragmentUri(ControllerReference $reference, Request $request, bool $absolute = false, bool $strict = true)
protected function generateFragmentUri(ControllerReference $reference, Request $request, bool $absolute = false, bool $strict = true): string
{
return (new FragmentUriGenerator($this->fragmentPath))->generate($reference, $request, $absolute, $strict, false);
}