Test Failed
Push — feature-laravel-5.4 ( 2cd2d4...7ff291 )
by Kirill
03:18
created
app/Models/DocsPage.php 1 patch
Spacing   +3 added lines, -3 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\Models;
10 10
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     public function getNav(...$level): Collection
67 67
     {
68 68
         return $this->nav->whereIn('level', $level)
69
-            ->map(function (array $data) {
69
+            ->map(function(array $data) {
70 70
                 return (object) $data;
71 71
             });
72 72
     }
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public static function scopeWhereVersion(Builder $builder, string $version): Builder
80 80
     {
81
-        return $builder->whereHas('docs', function (Builder $query) use ($version) {
81
+        return $builder->whereHas('docs', function(Builder $query) use ($version) {
82 82
             return $query->where('version', $version);
83 83
         });
84 84
     }
Please login to merge, or discard this patch.