Test Failed
Pull Request — feature-laravel-5.4 (#70)
by Kirill
03:20
created
app/Console/Commands/StartWebSocketServer.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\Console\Commands;
12 12
 
Please login to merge, or discard this patch.
app/Models/User/GravatarSupport.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\Models\User;
11 11
 
Please login to merge, or discard this patch.
app/GraphQL/Serializers/AbstractSerializer.php 1 patch
Spacing   +5 added lines, -5 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
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param  Collection|Model[]|null $collection
24 24
      * @return Collection
25 25
      */
26
-    public static function collection(?Collection $collection): Collection
26
+    public static function collection(? Collection $collection) : Collection
27 27
     {
28 28
         if ($collection === null) {
29 29
             return new Collection();
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @param  Model|null $model
37 37
      * @return array
38 38
      */
39
-    public static function serialize(?Model $model): array
39
+    public static function serialize(? Model $model) : array
40 40
     {
41 41
         if ($model === null) {
42 42
             return [];
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public static function map(): \Closure
52 52
     {
53
-        return function (Model $model) {
53
+        return function(Model $model) {
54 54
             return static::serialize($model);
55 55
         };
56 56
     }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param  \DateTime|null $date
69 69
      * @return string
70 70
      */
71
-    protected function formatDateTime(?\DateTime $date): string
71
+    protected function formatDateTime(? \DateTime $date) : string
72 72
     {
73 73
         if ($date === null) {
74 74
             $date = Carbon::now();
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.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\Providers;
12 12
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private function loadProductionProviders(Repository $repository): void
42 42
     {
43
-        if (! $this->app->isLocal()) {
43
+        if (!$this->app->isLocal()) {
44 44
             $providers = (array) $repository->get('app.production_providers', []);
45 45
 
46 46
             foreach ($providers as $provider) {
Please login to merge, or discard this patch.