Test Failed
Push — feature-laravel-5.4 ( 11ab58...f80e1e )
by Kirill
03:32
created
app/GraphQL/Serializers/AbstractSerializer.php 1 patch
Spacing   +2 added lines, -2 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\GraphQL\Serializers;
12 12
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public static function map(): \Closure
45 45
     {
46
-        return function (Model $model) {
46
+        return function(Model $model) {
47 47
             return static::serialize($model);
48 48
         };
49 49
     }
Please login to merge, or discard this patch.
app/GraphQL/Kernel/EnumInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 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\GraphQL\Kernel;
11 11
 
Please login to merge, or discard this patch.
app/GraphQL/Types/TagType.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\GraphQL\Types;
12 12
 
Please login to merge, or discard this patch.
app/GraphQL/Types/AbstractType.php 1 patch
Spacing   +2 added lines, -2 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\GraphQL\Types;
12 12
 
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public static function getName(): string
30 30
     {
31
-        if (! isset(self::$names[static::class])) {
31
+        if (!isset(self::$names[static::class])) {
32 32
             $reflection = new \ReflectionClass(static::class);
33 33
 
34 34
             self::$names[static::class] = Str::replaceLast('Type', '', $reflection->getShortName());
Please login to merge, or discard this patch.
app/GraphQL/Mutations/ArticleUpdate.php 1 patch
Spacing   +2 added lines, -2 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\GraphQL\Mutations;
12 12
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * @return ObjectType|null
43 43
      */
44
-    public function type(): ?ObjectType
44
+    public function type(): ? ObjectType
45 45
     {
46 46
         return \GraphQL::type(ArticleType::getName());
47 47
     }
Please login to merge, or discard this patch.
app/Exceptions/Handler.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\Exceptions;
12 12
 
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.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\Providers;
12 12
 
Please login to merge, or discard this patch.
app/helpers.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  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
-if (! function_exists('asset_ts')) {
11
+if (!function_exists('asset_ts')) {
12 12
     /**
13 13
      * Asset path with timestamp.
14 14
      *
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
      */
20 20
     function asset_ts(string $path = '', string $directory = 'dist/'): string
21 21
     {
22
-        $link = '/' . $directory . $path;
22
+        $link = '/'.$directory.$path;
23 23
 
24
-        return $link . '?' . (
24
+        return $link.'?'.(
25 25
             is_file(public_path($link))
26 26
                 ? filemtime(public_path($link))
27 27
                 : random_int(0, 9999)
Please login to merge, or discard this patch.
app/Views/Composers/AuthComposer.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.