Completed
Branch master (fac64b)
by Luka
04:09
created
src/Service/Authorization.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * @param string   $access_token
31 31
      * @param string   $token_type
32
-     * @param string[] $scope
32
+     * @param Scope $scope
33 33
      * @param int      $created_at
34 34
      */
35 35
     public function __construct($access_token, $token_type, Scope $scope, $created_at)
Please login to merge, or discard this patch.
src/Service/Toot.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     private $spoiler_text;
49 49
 
50 50
     /**
51
-     * @param string[] $scopes
51
+     * @param string $toot_string
52 52
      */
53 53
     public function __construct($toot_string, array $options)
54 54
     {
Please login to merge, or discard this patch.
src/Config/DotEnvStorage.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         $values = $this->getValues();
97 97
 
98 98
         return [
99
-            'client_id'     => isset($values[$id_key])  ? $values[$id_key]  : null,
99
+            'client_id'     => isset($values[$id_key]) ? $values[$id_key] : null,
100 100
             'client_secret' => isset($values[$sec_key]) ? $values[$sec_key] : null,
101 101
         ];
102 102
     }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         v::stringType()->not(v::contains("\n"))->assert($username);
138 138
         v::stringType()->not(v::contains("\n"))->assert($password);
139
-        $this->save_values['username']     = $username;
139
+        $this->save_values['username'] = $username;
140 140
         $this->save_values['password'] = $password;
141 141
     }
142 142
 
Please login to merge, or discard this patch.
src/Client.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
                 'Authorization' => "Bearer {$session->getAccessToken()}",
93 93
                 'User-Agent'    => $user_agent,
94 94
             ],
95
-         ];
95
+            ];
96 96
     }
97 97
 
98 98
     /**
Please login to merge, or discard this patch.
src/Entity/Status.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     public function __construct(array $properties)
66 66
     {
67 67
         if (isset($properties['account'])) {
68
-            $properties['account'] = map (Account::class, $properties['account']);
68
+            $properties['account'] = map(Account::class, $properties['account']);
69 69
         }
70 70
         if (isset($properties['reblog'])) {
71 71
             $properties['reblog'] = map(Status::class, $properties['reblog']);
Please login to merge, or discard this patch.