Completed
Pull Request — feature-laravel-5.4 (#51)
by Kirill
06:36 queued 03:24
created
app/Views/Composers/NavComposer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Views\Composers;
12 12
 
Please login to merge, or discard this patch.
app/Services/ContentRenderer/ContentHeadersRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
  * For the full copyright and license information, please view the LICENSE
6 6
  * file that was distributed with this source code.
7 7
  */
8
-declare(strict_types=1);
8
+declare(strict_types = 1);
9 9
 
10 10
 namespace App\Services\ContentRenderer;
11 11
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     {
61 61
         $this->links = [];
62 62
 
63
-        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function ($data) {
63
+        $this->content = preg_replace_callback('/<(h\d+)>(.*?)<\/h\d+>/isu', function($data) {
64 64
             list($data, $tag, $header) = $data;
65 65
             $id = Str::slug($header);
66 66
 
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Providers;
12 12
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function boot(): void
52 52
     {
53
-        $this->app->singleton(NavMatcher::class, function (Container $app) {
53
+        $this->app->singleton(NavMatcher::class, function(Container $app) {
54 54
             $route = $app->make(Router::class)->current();
55 55
 
56 56
             return new NavMatcher($route);
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     private function registerGuzzleClient(): void
78 78
     {
79
-        $this->app->singleton(Guzzle::class, function () {
79
+        $this->app->singleton(Guzzle::class, function() {
80 80
             return new Guzzle();
81 81
         });
82 82
 
Please login to merge, or discard this patch.
app/Http/Controllers/DocsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
  * For the full copyright and license information, please view the LICENSE
7 7
  * file that was distributed with this source code.
8 8
  */
9
-declare(strict_types=1);
9
+declare(strict_types = 1);
10 10
 
11 11
 namespace App\Http\Controllers;
12 12
 
Please login to merge, or discard this patch.
app/Services/NavMatcher.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
  * For the full copyright and license information, please view the LICENSE
5 5
  * file that was distributed with this source code.
6 6
  */
7
-declare(strict_types=1);
7
+declare(strict_types = 1);
8 8
 
9 9
 namespace App\Services;
10 10
 
@@ -63,6 +63,6 @@  discard block
 block discarded – undo
63 63
      */
64 64
     private function isMatched(string $needle): bool
65 65
     {
66
-        return Str::startsWith($this->route->getName(), $needle . '.');
66
+        return Str::startsWith($this->route->getName(), $needle.'.');
67 67
     }
68 68
 }
Please login to merge, or discard this patch.