Completed
Push — master ( 5a1bfe...e594ab )
by Marcel
15s queued 14s
created
src/Http/Client.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@  discard block
 block discarded – undo
22 22
     /** @var int */
23 23
     private $timeout;
24 24
 
25
+    /**
26
+     * @param string $apiToken
27
+     * @param null|string $apiSecret
28
+     */
25 29
     public function __construct(
26 30
         ?string $apiToken,
27 31
         ?string $apiSecret,
@@ -173,6 +177,9 @@  discard block
 block discarded – undo
173 177
         return new Response($headers, $body, $error);
174 178
     }
175 179
 
180
+    /**
181
+     * @param resource $curlHandle
182
+     */
176 183
     private function attachRequestPayload(&$curlHandle, array $data)
177 184
     {
178 185
         $encoded = json_encode($data);
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Facade\FlareClient\Http;
4 4
 
5
-use Facade\FlareClient\Http\Exceptions\NotFound;
6
-use Facade\FlareClient\Http\Exceptions\InvalidData;
7 5
 use Facade\FlareClient\Http\Exceptions\BadResponseCode;
6
+use Facade\FlareClient\Http\Exceptions\InvalidData;
8 7
 use Facade\FlareClient\Http\Exceptions\MissingParameter;
8
+use Facade\FlareClient\Http\Exceptions\NotFound;
9 9
 
10 10
 class Client
11 11
 {
Please login to merge, or discard this patch.
src/Stacktrace/Codesnippet.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@
 block discarded – undo
56 56
         }
57 57
     }
58 58
 
59
+    /**
60
+     * @param integer $totalNumberOfLineInFile
61
+     */
59 62
     private function getBounds($totalNumberOfLineInFile): array
60 63
     {
61 64
         $startLine = max($this->surroundingLine - floor($this->snippetLineCount / 2), 1);
Please login to merge, or discard this patch.
src/Flare.php 1 patch
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -3,18 +3,18 @@
 block discarded – undo
3 3
 namespace Facade\FlareClient;
4 4
 
5 5
 use Exception;
6
-use Throwable;
7
-use Illuminate\Pipeline\Pipeline;
8
-use Facade\FlareClient\Glows\Glow;
9
-use Facade\FlareClient\Http\Client;
10
-use Facade\FlareClient\Glows\Recorder;
11 6
 use Facade\FlareClient\Concerns\HasContext;
7
+use Facade\FlareClient\Context\ContextContextDetector;
8
+use Facade\FlareClient\Context\ContextDetectorInterface;
12 9
 use Facade\FlareClient\Enums\MessageLevels;
10
+use Facade\FlareClient\Glows\Glow;
11
+use Facade\FlareClient\Glows\Recorder;
12
+use Facade\FlareClient\Http\Client;
13 13
 use Facade\FlareClient\Middleware\AddGlows;
14
-use Illuminate\Contracts\Container\Container;
15 14
 use Facade\FlareClient\Middleware\AnonymizeIp;
16
-use Facade\FlareClient\Context\ContextContextDetector;
17
-use Facade\FlareClient\Context\ContextDetectorInterface;
15
+use Illuminate\Contracts\Container\Container;
16
+use Illuminate\Pipeline\Pipeline;
17
+use Throwable;
18 18
 
19 19
 class Flare
20 20
 {
Please login to merge, or discard this patch.
src/Report.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
     /** @var string */
63 63
     private $groupBy;
64 64
 
65
+    /**
66
+     * @param string $applicationPath
67
+     */
65 68
     public static function createForThrowable(Throwable $throwable, ContextInterface $context, ?string $applicationPath = null): self
66 69
     {
67 70
         return (new static())
@@ -74,6 +77,9 @@  discard block
 block discarded – undo
74 77
             ->exceptionContext($throwable);
75 78
     }
76 79
 
80
+    /**
81
+     * @param string $applicationPath
82
+     */
77 83
     public static function createForMessage(string $message, string $logLevel, ContextInterface $context, ?string $applicationPath = null): self
78 84
     {
79 85
         $stacktrace = Stacktrace::create($applicationPath);
@@ -163,6 +169,9 @@  discard block
 block discarded – undo
163 169
         return $this;
164 170
     }
165 171
 
172
+    /**
173
+     * @param integer|null $index
174
+     */
166 175
     public function openFrameIndex(?int $index)
167 176
     {
168 177
         $this->openFrameIndex = $index;
Please login to merge, or discard this patch.
Unused Use Statements   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,16 +2,16 @@
 block discarded – undo
2 2
 
3 3
 namespace Facade\FlareClient;
4 4
 
5
-use Facade\FlareClient\Enums\GroupingTypes;
6
-use Throwable;
7
-use Facade\FlareClient\Glows\Glow;
8
-use Facade\IgnitionContracts\Solution;
9
-use Facade\FlareClient\Concerns\UsesTime;
10 5
 use Facade\FlareClient\Concerns\HasContext;
11
-use Facade\FlareClient\Stacktrace\Stacktrace;
6
+use Facade\FlareClient\Concerns\UsesTime;
12 7
 use Facade\FlareClient\Context\ContextInterface;
13
-use Facade\FlareClient\Solutions\ReportSolution;
14 8
 use Facade\FlareClient\Contracts\ProvidesFlareContext;
9
+use Facade\FlareClient\Enums\GroupingTypes;
10
+use Facade\FlareClient\Glows\Glow;
11
+use Facade\FlareClient\Solutions\ReportSolution;
12
+use Facade\FlareClient\Stacktrace\Stacktrace;
13
+use Facade\IgnitionContracts\Solution;
14
+use Throwable;
15 15
 
16 16
 class Report
17 17
 {
Please login to merge, or discard this patch.