|
@@ -69,7 +69,7 @@ discard block |
|
|
block discarded – undo |
|
69
|
69
|
*/ |
|
70
|
70
|
public function register(): void |
|
71
|
71
|
{ |
|
72
|
|
- $this->app->bind(UrlGeneratorInterface::class, function (ContainerInterface $app) { |
|
|
72
|
+ $this->app->bind(UrlGeneratorInterface::class, function(ContainerInterface $app) { |
|
73
|
73
|
return new ServerRequestUrlGenerator( |
|
74
|
74
|
$app->get(ServerRequestInterface::class), |
|
75
|
75
|
'page' |
|
@@ -78,7 +78,7 @@ discard block |
|
|
block discarded – undo |
|
78
|
78
|
|
|
79
|
79
|
$this->app->bind(RendererInterface::class, BootstrapRenderer::class); |
|
80
|
80
|
|
|
81
|
|
- $this->app->bind(Pagination::class, function (ContainerInterface $app) { |
|
|
81
|
+ $this->app->bind(Pagination::class, function(ContainerInterface $app) { |
|
82
|
82
|
$pagination = new Pagination( |
|
83
|
83
|
$app->get(UrlGeneratorInterface::class), |
|
84
|
84
|
$app->get(RendererInterface::class) |
Please login to merge, or discard this patch.