Completed
Push — master ( 0815a4...7ef1c7 )
by Freek
04:45 queued 11s
created
src/Http/Client.php 1 patch
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.
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/Report.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@  discard block
 block discarded – undo
63 63
     /** @var string */
64 64
     private $groupBy;
65 65
 
66
+    /**
67
+     * @param string $applicationPath
68
+     */
66 69
     public static function createForThrowable(Throwable $throwable, ContextInterface $context, ?string $applicationPath = null): self
67 70
     {
68 71
         return (new static())
@@ -85,6 +88,9 @@  discard block
 block discarded – undo
85 88
         return get_class($throwable);
86 89
     }
87 90
 
91
+    /**
92
+     * @param string $applicationPath
93
+     */
88 94
     public static function createForMessage(string $message, string $logLevel, ContextInterface $context, ?string $applicationPath = null): self
89 95
     {
90 96
         $stacktrace = Stacktrace::create($applicationPath);
@@ -174,6 +180,9 @@  discard block
 block discarded – undo
174 180
         return $this;
175 181
     }
176 182
 
183
+    /**
184
+     * @param integer|null $index
185
+     */
177 186
     public function openFrameIndex(?int $index)
178 187
     {
179 188
         $this->openFrameIndex = $index;
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
 use Facade\FlareClient\Glows\Glow;
11 11
 use Facade\FlareClient\Solutions\ReportSolution;
12 12
 use Facade\FlareClient\Stacktrace\Stacktrace;
13
-use Facade\Ignition\Exceptions\ViewException;
14 13
 use Facade\IgnitionContracts\Solution;
14
+use Facade\Ignition\Exceptions\ViewException;
15 15
 use Throwable;
16 16
 
17 17
 class Report
Please login to merge, or discard this patch.