mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-22 14:47:47 +09:00
Update dependencies
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user