@@ -3,11 +3,10 @@ |
||
3 | 3 | namespace Finder\Console\Commands\Verify; |
4 | 4 | |
5 | 5 | use Finder\Actions\Instagram\GetMidias; |
6 | -use Telefonica\Models\Digital\Account; |
|
7 | -use Siravel\Models\Negocios\Business; |
|
8 | 6 | use Illuminate\Console\Command; |
9 | 7 | use Illuminate\Foundation\Inspiring; |
10 | -use App\Plugins\Integrations\PhotoAcompanhante\Import; |
|
8 | +use Siravel\Models\Negocios\Business; |
|
9 | +use Telefonica\Models\Digital\Account; |
|
11 | 10 | |
12 | 11 | class Social extends Command |
13 | 12 | { |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * Get the database connection. |
86 | 86 | * |
87 | 87 | * @param string $name |
88 | - * @return array|string |
|
88 | + * @return boolean |
|
89 | 89 | */ |
90 | 90 | protected function getConnection($name) |
91 | 91 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder\Console\Commands; |
4 | 4 | |
5 | -use File; |
|
6 | 5 | use Carbon\Carbon; |
6 | +use File; |
|
7 | 7 | use Illuminate\Console\Command; |
8 | 8 | use Symfony\Component\Console\Input\InputOption; |
9 | 9 |
@@ -314,7 +314,7 @@ |
||
314 | 314 | * Get argument value from user informed arguments. |
315 | 315 | * |
316 | 316 | * @param string $name argument name. |
317 | - * @return Mixed argument value. |
|
317 | + * @return string argument value. |
|
318 | 318 | */ |
319 | 319 | protected function getArgumentValue($name) |
320 | 320 | { |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Finder\Console\External\Analyser; |
3 | 3 | |
4 | -use League\CLImate\CLImate; |
|
5 | 4 | use Finder\Logic\Analyser; |
6 | 5 | use Finder\Logic\Output\AbstractOutput; |
7 | 6 | use Finder\Logic\Output\Filter\DiffOutputFilter; |
7 | +use League\CLImate\CLImate; |
|
8 | 8 | use ReflectionMethod; |
9 | 9 | use SebastianBergmann\Diff\Parser; |
10 | 10 | use SebastianBergmann\Git\Git; |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Finder\Console\External\Explorer; |
3 | 3 | |
4 | -use League\CLImate\CLImate; |
|
5 | 4 | use Finder\Logic\Output\AbstractOutput; |
6 | 5 | use Finder\Logic\Output\Filter\DiffOutputFilter; |
6 | +use Finder\Spider\SpiderLinuxCommand; |
|
7 | +use League\CLImate\CLImate; |
|
7 | 8 | use ReflectionMethod; |
8 | 9 | use SebastianBergmann\Diff\Parser; |
9 | 10 | use SebastianBergmann\Git\Git; |
10 | 11 | use UnexpectedValueException; |
11 | -use Finder\Spider\SpiderLinuxCommand; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Command line tool that run all script analyzers. |
@@ -314,7 +314,7 @@ |
||
314 | 314 | * Get argument value from user informed arguments. |
315 | 315 | * |
316 | 316 | * @param string $name argument name. |
317 | - * @return Mixed argument value. |
|
317 | + * @return string argument value. |
|
318 | 318 | */ |
319 | 319 | protected function getArgumentValue($name) |
320 | 320 | { |
@@ -1,19 +1,15 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Finder\Contracts\Spider; |
3 | 3 | |
4 | -use Finder\Logic\Output\AbstractOutput; |
|
5 | -use Finder\Logic\Output\Filter\OutputFilterInterface; |
|
6 | -use Finder\Logic\Output\TriggerableInterface; |
|
7 | - |
|
8 | 4 | use Symfony\Component\Finder\Finder; |
9 | 5 | |
10 | -use Finder\Spider\File; |
|
11 | 6 | use Finder\Spider\Directory; |
12 | -use Finder\Spider\Registrator\FileRegistrator; |
|
7 | +use Finder\Spider\File; |
|
13 | 8 | use Finder\Spider\Metrics\FileMetric; |
9 | +use Finder\Spider\Registrator\FileRegistrator; |
|
14 | 10 | |
15 | -use Support\Helps\DebugHelper; |
|
16 | 11 | use Support\Helps\CodeFileHelper; |
12 | +use Support\Helps\DebugHelper; |
|
17 | 13 | |
18 | 14 | /** |
19 | 15 | * Run all script analysers and outputs their result. |
@@ -40,6 +40,9 @@ |
||
40 | 40 | return $this->parent; |
41 | 41 | } |
42 | 42 | |
43 | + /** |
|
44 | + * @param boolean $parent |
|
45 | + */ |
|
43 | 46 | public function setParent($parent) |
44 | 47 | { |
45 | 48 | $this->parent = $parent; |
@@ -1,19 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace Finder\Contracts\Spider; |
3 | 3 | |
4 | -use Finder\Logic\Output\AbstractOutput; |
|
5 | -use Finder\Logic\Output\Filter\OutputFilterInterface; |
|
6 | -use Finder\Logic\Output\TriggerableInterface; |
|
7 | - |
|
8 | 4 | use Symfony\Component\Finder\Finder; |
9 | 5 | |
10 | -use Finder\Spider\File; |
|
11 | -use Finder\Spider\Directory; |
|
12 | -use Finder\Spider\Registrator\FileRegistrator; |
|
13 | -use Finder\Spider\Metrics\FileMetric; |
|
14 | - |
|
15 | -use Support\Helps\DebugHelper; |
|
16 | - |
|
17 | 6 | /** |
18 | 7 | * Run all script analysers and outputs their result. |
19 | 8 | */ |
@@ -238,7 +238,7 @@ |
||
238 | 238 | /** |
239 | 239 | * Get the services provided by the provider. |
240 | 240 | * |
241 | - * @return array |
|
241 | + * @return string[] |
|
242 | 242 | */ |
243 | 243 | public function provides() |
244 | 244 | { |
@@ -2,23 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace Finder; |
4 | 4 | |
5 | -use App; |
|
6 | 5 | use Config; |
7 | 6 | use Finder\Facades\Finder as FinderFacade; |
8 | 7 | use Finder\Services\FinderService; |
9 | -use Illuminate\Contracts\Events\Dispatcher; |
|
10 | 8 | |
11 | -use Illuminate\Foundation\AliasLoader; |
|
12 | -use Illuminate\Routing\Router; |
|
13 | -use Illuminate\Support\Collection; |
|
14 | 9 | use Illuminate\Support\Facades\View; |
15 | 10 | use Illuminate\Support\ServiceProvider; |
16 | 11 | |
17 | -use JeroenNoten\LaravelAdminLte\Events\BuildingMenu; |
|
18 | - |
|
19 | 12 | use Log; |
20 | 13 | use Muleta\Traits\Providers\ConsoleTools; |
21 | -use Route; |
|
22 | 14 | |
23 | 15 | use MediaManager\Services\FileService; |
24 | 16 |
@@ -22,7 +22,6 @@ |
||
22 | 22 | /** |
23 | 23 | * AuthCreateAction constructor. |
24 | 24 | * |
25 | - * @param ResponseFactory $responseFactory |
|
26 | 25 | * @param OAuthProxy $oAuthProxy |
27 | 26 | */ |
28 | 27 | public function __construct(OAuthProxy $oAuthProxy) |
@@ -3,11 +3,11 @@ |
||
3 | 3 | namespace Finder\Http\Actions; |
4 | 4 | |
5 | 5 | use Finder\Http\Resources\PostResource; |
6 | -use Population\Manipule\Managers\PostManager; |
|
7 | 6 | use Illuminate\Contracts\Cache\Factory as CacheManager; |
8 | 7 | use Illuminate\Contracts\Routing\ResponseFactory; |
9 | 8 | use Illuminate\Http\JsonResponse; |
10 | 9 | use Illuminate\Http\Request; |
10 | +use Population\Manipule\Managers\PostManager; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * Class PostCreateAction. |