Passed
Push — master ( e85f25...27ad0f )
by Dennis
03:55
created
src/Listeners/LoginSuccessListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
      */
17 17
     public function handle(LoginSuccess $event): void
18 18
     {
19
-        CompanyLogWrite::makeLog(true,$event->account);
19
+        CompanyLogWrite::makeLog(true, $event->account);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/Listeners/LoginFailedListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
      */
17 17
     public function handle(LoginFailed $event): void
18 18
     {
19
-        CompanyLogWrite::makeLog(false,$event->account);
19
+        CompanyLogWrite::makeLog(false, $event->account);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/Models/CompanyApply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
     {
90 90
         if (!$medias = $this->getMedia(self::MEDIA_FILE))
91 91
             return [];
92
-        return $medias->map(function ($item) {
92
+        return $medias->map(function($item) {
93 93
             return [
94 94
                 'name' => $item->file_name,
95 95
                 'url' => $item->original_url,
Please login to merge, or discard this patch.
src/Packages/CompanyAuthenticatable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      * @throws \SimpleCMS\Framework\Exceptions\SimpleException
52 52
      * @return bool|RedirectResponse
53 53
      */
54
-    public function guardLogin(string $guard, string $account, string $password, array $messages = []): bool|RedirectResponse
54
+    public function guardLogin(string $guard, string $account, string $password, array $messages = []): bool | RedirectResponse
55 55
     {
56 56
         $errorMessages = array_merge([
57 57
             'not_found' => 'The account or password is incorrect.',
Please login to merge, or discard this patch.