Completed
Push — master ( 039795...c571cc )
by Ricardo
02:33
created
src/Cacheable/CacheableEloquent.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * Register an updated model event with the dispatcher.
15 15
      *
16
-     * @param \Closure|string $callback
16
+     * @param Closure $callback
17 17
      *
18 18
      * @return void
19 19
      */
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * Register a created model event with the dispatcher.
24 24
      *
25
-     * @param \Closure|string $callback
25
+     * @param Closure $callback
26 26
      *
27 27
      * @return void
28 28
      */
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Register a deleted model event with the dispatcher.
33 33
      *
34
-     * @param \Closure|string $callback
34
+     * @param Closure $callback
35 35
      *
36 36
      * @return void
37 37
      */
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 namespace Integrations\Cacheable;
6 6
 
7 7
 use Closure;
8
-use Illuminate\Database\Eloquent\Model;
9 8
 use Illuminate\Database\Eloquent\Builder;
9
+use Illuminate\Database\Eloquent\Model;
10 10
 
11 11
 trait CacheableEloquent
12 12
 {
Please login to merge, or discard this patch.
src/Connectors/Cloudflare/Create.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -2,11 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Cloudflare;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-use Cloudflare\Zone\Pagerules;
8
-use Cloudflare\Zone\Dns;
9
-
10 5
 class Create extends Cloudflare
11 6
 {
12 7
     public function newDnsZone(Project $project)
Please login to merge, or discard this patch.
src/Connectors/Connector.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
         return $this;
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $errorMessage
62
+     */
60 63
     public function setError($errorMessage, $code = 0)
61 64
     {
62 65
         $this->error = $errorMessage;
@@ -79,6 +82,7 @@  discard block
 block discarded – undo
79 82
 
80 83
     /**
81 84
      * Recupera dados em cima de um get de uma api
85
+     * @param string $path
82 86
      */
83 87
     public function get($path)
84 88
     {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -18 removed lines patch added patch discarded remove patch
@@ -2,26 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6 5
 use Log;
7
-use App\Models\User;
8
-
9
-use Integrations\Models\Token;
10
-
11
-use Integrations\Connectors\Github\Github;
12
-use Integrations\Connectors\Amazon\Amazon;
13
-use Integrations\Connectors\Gitlab\Gitlab;
14
-use Integrations\Connectors\Jira\Jira;
15
-use Integrations\Connectors\Novare\Novare;
16
-use Integrations\Connectors\Pipedrive\Pipedrive;
17
-use Integrations\Connectors\Sentry\Sentry;
18
-use Integrations\Connectors\Testlink\Testlink;
19
-use Integrations\Connectors\Zoho\Zoho;
20
-use Support\Components\Coders\Parser\ParseClass;
21
-use Muleta\Utils\Debugger\ErrorHelper;
22
-use Integrations\Models\Integration as IntegrationModel;
23
-use ReflectionGenerator;
6
+
24 7
 use Exception;
8
+use Integrations\Models\Integration as IntegrationModel;
9
+use Muleta\Utils\Debugger\ErrorHelper;
25 10
 use Muleta\Utils\Extratores\ClasserExtractor;
26 11
 use Support\Contracts\Output\OutputableTrait;
27 12
 
Please login to merge, or discard this patch.
src/Connectors/Dropbox/Post.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Dropbox;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Post extends Dropbox
9 6
 {
10 7
     
Please login to merge, or discard this patch.
src/Connectors/Dropbox/Relation.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Dropbox;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Relation extends Dropbox
9 6
 {
10 7
     
Please login to merge, or discard this patch.
src/Connectors/Gitlab/Gitlab.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Gitlab;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6
-use Log;
7
-use App\Models\User;
8 5
 use Integrations\Connectors\Connector;
9 6
 
10 7
 class Gitlab extends Connector
Please login to merge, or discard this patch.
src/Connectors/Googledrive/Post.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Googledrive;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Post extends Googledrive
9 6
 {
10 7
     
Please login to merge, or discard this patch.
src/Connectors/Googledrive/Relation.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Googledrive;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Relation extends Googledrive
9 6
 {
10 7
     
Please login to merge, or discard this patch.
src/Connectors/Instagram/Post.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Integrations\Connectors\Instagram;
4 4
 
5
-use Log;
6
-use App\Models\User;
7
-
8 5
 class Post extends Instagram
9 6
 {
10 7
     
Please login to merge, or discard this patch.