Completed
Branch master (d308f8)
by Thomas
10:12
created
Category
src/Routing/RoutingServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,18 +11,18 @@
 block discarded – undo
11 11
      */
12 12
     public function register()
13 13
     {
14
-        $this->app->singleton(Router::class, function ($app) {
14
+        $this->app->singleton(Router::class, function($app) {
15 15
             return new Router($app['events'], $app);
16 16
         });
17 17
         $this->app->alias(Router::class, 'router');
18 18
 
19
-        $this->app->singleton(UrlGenerator::class, function ($app) {
19
+        $this->app->singleton(UrlGenerator::class, function($app) {
20 20
             $routes = $app['router']->getRoutes();
21 21
             $app->instance('routes', $routes);
22 22
 
23 23
             return new UrlGenerator(
24 24
                 $routes,
25
-                $app->rebinding('request', function ($app, $request) {
25
+                $app->rebinding('request', function($app, $request) {
26 26
                     $app['url']->setRequest($request);
27 27
                 }),
28 28
                 $app['config']['app.asset_url']
Please login to merge, or discard this patch.
src/Routing/UrlGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function routeUrl()
48 48
     {
49
-        if (! $this->routeGenerator) {
49
+        if (!$this->routeGenerator) {
50 50
             $this->routeGenerator = new RouteUrlGenerator(
51 51
                 $this,
52 52
                 $this->request
Please login to merge, or discard this patch.
src/Pagination/PaginationServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function register()
15 15
     {
16
-        \Illuminate\Pagination\Paginator::currentPathResolver(function () {
16
+        \Illuminate\Pagination\Paginator::currentPathResolver(function() {
17 17
             return Helper::appendTrailingSlashes(
18 18
                 $this->app['request']->url(),
19 19
                 $this->app['request']->getPathInfo()
Please login to merge, or discard this patch.