Completed
Push — master ( 232af6...589810 )
by Ricardo
05:55
created
src/Actions/Agir/DownloadExcel.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Finder\Actions;
4 4
 
5 5
 use Laravel\Nova\Actions\Action;
6
-use Maatwebsite\Excel\Facades\Excel;
7 6
 use Laravel\Nova\Http\Requests\ActionRequest;
7
+use Maatwebsite\Excel\Facades\Excel;
8 8
 use Symfony\Component\HttpFoundation\BinaryFileResponse;
9 9
 
10 10
 class DownloadExcel extends ExportToExcel
Please login to merge, or discard this patch.
src/Actions/Agir/ExportToExcel.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
 
95 95
     /**
96 96
      * @param ActionRequest $request
97
-     * @param Action        $exportable
97
+     * @param ExportToExcel        $exportable
98 98
      *
99 99
      * @return array
100 100
      */
Please login to merge, or discard this patch.
Unused Use Statements   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -2,30 +2,30 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Actions;
4 4
 
5
-use Laravel\Nova\Nova;
6
-use Laravel\Nova\Resource;
7
-use Laravel\Nova\Fields\Field;
8
-use Laravel\Nova\Actions\Action;
9
-use Laravel\Nova\Fields\Gravatar;
10
-use Illuminate\Support\Collection;
11
-use Maatwebsite\Excel\Facades\Excel;
12
-use Illuminate\Database\Query\Builder;
13
-use Illuminate\Database\Eloquent\Model;
14
-use Maatwebsite\Excel\Concerns\FromQuery;
15
-use Maatwebsite\Excel\Concerns\WithMapping;
16
-use Laravel\Nova\Http\Requests\ActionRequest;
17
-use App\Concerns\Only;
18 5
 use App\Concerns\Except;
19
-use Maatwebsite\Excel\Concerns\WithCustomChunkSize;
6
+use App\Concerns\Only;
7
+use App\Concerns\WithChunkCount;
20 8
 use App\Concerns\WithDisk;
21 9
 use App\Concerns\WithFilename;
22 10
 use App\Concerns\WithHeadings;
23
-use App\Concerns\WithChunkCount;
24 11
 use App\Concerns\WithWriterType;
25 12
 use App\Interactions\AskForFilename;
26
-use SiObjects\Http\Requests\Excel\ExportActionRequest;
27 13
 use App\Interactions\AskForWriterType;
14
+use Illuminate\Database\Eloquent\Model;
15
+use Illuminate\Database\Query\Builder;
16
+use Illuminate\Support\Collection;
17
+use Laravel\Nova\Actions\Action;
18
+use Laravel\Nova\Fields\Field;
19
+use Laravel\Nova\Fields\Gravatar;
20
+use Laravel\Nova\Http\Requests\ActionRequest;
21
+use Laravel\Nova\Nova;
22
+use Laravel\Nova\Resource;
23
+use Maatwebsite\Excel\Concerns\FromQuery;
24
+use Maatwebsite\Excel\Concerns\WithCustomChunkSize;
28 25
 use Maatwebsite\Excel\Concerns\WithHeadings as WithHeadingsConcern;
26
+use Maatwebsite\Excel\Concerns\WithMapping;
27
+use Maatwebsite\Excel\Facades\Excel;
28
+use SiObjects\Http\Requests\Excel\ExportActionRequest;
29 29
 use SiObjects\Http\Requests\Excel\ExportActionRequestFactory;
30 30
 
31 31
 class ExportToExcel extends Action implements FromQuery, WithCustomChunkSize, WithHeadingsConcern, WithMapping
Please login to merge, or discard this patch.
src/Actions/Agir/QueuedExport.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      * Serialize the request, so we keep information about
20 20
      * the resource and lens in the queued jobs.
21 21
      *
22
-     * @return array
22
+     * @return string[]
23 23
      */
24 24
     public function __sleep()
25 25
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Actions;
4 4
 
5
-use Laravel\Nova\Nova;
6 5
 use Illuminate\Contracts\Queue\ShouldQueue;
6
+use Laravel\Nova\Nova;
7 7
 use SiObjects\Http\Requests\Excel\SerializedRequest;
8 8
 
9 9
 class QueuedExport extends ExportToExcel implements ShouldQueue
Please login to merge, or discard this patch.
src/Actions/Instagram/GetFollowers.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Actions\Instagram;
4 4
 
5
-use Illuminate\Support\Facades\Facade;
6 5
 use Telefonica\Models\Digital\Account;
7 6
 
8 7
 class GetFollowers extends Instagram
Please login to merge, or discard this patch.
src/Actions/Instagram/GetStories.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 Finder\Actions\Instagram;
4 4
 
5
-use Illuminate\Support\Facades\Facade;
6
-use Telefonica\Models\Digital\Account;
7
-
8 5
 class GetStories extends Instagram
9 6
 {
10 7
     public function execute()
Please login to merge, or discard this patch.
src/Actions/Instagram/Instagram.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
         return $this->userName;
26 26
     }
27 27
 
28
+    /**
29
+     * @param string $targets
30
+     */
28 31
     public function prepare($targets)
29 32
     {
30 33
         if (is_string($targets)) {
@@ -35,6 +38,11 @@  discard block
 block discarded – undo
35 38
         return $this;
36 39
     }
37 40
 
41
+    /**
42
+     * @param boolean $cache
43
+     *
44
+     * @return \Psr\SimpleCache\CacheInterface
45
+     */
38 46
     private function getCache($cache)
39 47
     {
40 48
 
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Actions\Instagram;
4 4
 
5
-use Illuminate\Support\Facades\Facade;
6
-
7 5
 class Instagram
8 6
 {
9 7
     protected $targets = [];
Please login to merge, or discard this patch.
src/Actions/SearchFollows.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Finder\Actions;
13 13
 
14
-use Log;
15
-use App\Models\User;
16
-
17 14
 class SearchFollows
18 15
 {
19 16
     
Please login to merge, or discard this patch.
src/Components/Explorer/SenhorVerdugo/GetProfile.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,10 +5,6 @@
 block discarded – undo
5 5
 
6 6
 namespace Finder\Components\Explorer\SenhorVerdugo;
7 7
 
8
-use App\Models\User;
9
-use Illuminate\Support\Facades\DB;
10
-use Artisan;
11
-
12 8
 class GetProfile
13 9
 {
14 10
     public static function run($profileUrl)
Please login to merge, or discard this patch.
src/Components/Interactions/AskForWriterType.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Finder\Components\Interactions;
4 4
 
5
-use Maatwebsite\Excel\Excel;
6 5
 use Laravel\Nova\Fields\Select;
6
+use Maatwebsite\Excel\Excel;
7 7
 
8 8
 trait AskForWriterType
9 9
 {
Please login to merge, or discard this patch.