Passed
Push — master ( cd44eb...37d45b )
by Ger
10:22
created
app/Models/SubForum.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Models;
6 6
 
Please login to merge, or discard this patch.
app/Models/Role.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Models;
6 6
 
Please login to merge, or discard this patch.
app/Models/Author.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Models;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/Posts/UpdatePostController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Posts;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/Responses/UpdateResponseController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Responses;
6 6
 
Please login to merge, or discard this patch.
app/Http/Middleware/Cors.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Middleware;
6 6
 
Please login to merge, or discard this patch.
app/Http/Controllers/Users/LoginController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Users;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
                 $this->bus->dispatch(new LoginUserQuery($request->get('email'), $request->get('password')))
23 23
             );
24 24
         } catch (UserNotFound $exception) {
25
-            return JsonResponse::create(['error' => $exception->getMessage()], 404);
25
+            return JsonResponse::create([ 'error' => $exception->getMessage() ], 404);
26 26
         }
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Users/RegisterController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Users;
6 6
 
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
                 )
25 25
             );
26 26
         } catch (Exception $exception) {
27
-            return JsonResponse::create(['error' => $exception->getMessage()], 400);
27
+            return JsonResponse::create([ 'error' => $exception->getMessage() ], 400);
28 28
         }
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Posts/RatePostController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace App\Http\Controllers\Posts;
6 6
 
Please login to merge, or discard this patch.