@@ -4,7 +4,7 @@ discard block |
||
4 | 4 | * For the full copyright and license information, please view the LICENSE |
5 | 5 | * file that was distributed with this source code. |
6 | 6 | */ |
7 | -declare(strict_types=1); |
|
7 | +declare(strict_types = 1); |
|
8 | 8 | |
9 | 9 | namespace App\Services\GitHub; |
10 | 10 | |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $info = $this->getRepoFilesInfo($org, $repo, $branch); |
47 | 47 | |
48 | 48 | foreach ($info as $page) { |
49 | - if (! isset($page['path'], $page['download_url'])) { |
|
49 | + if (!isset($page['path'], $page['download_url'])) { |
|
50 | 50 | throw new \RuntimeException('Import failed: "path" or "download_url" arguments required.'); |
51 | 51 | } |
52 | 52 |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * For the full copyright and license information, please view the LICENSE |
6 | 6 | * file that was distributed with this source code. |
7 | 7 | */ |
8 | -declare(strict_types=1); |
|
8 | +declare(strict_types = 1); |
|
9 | 9 | |
10 | 10 | namespace App\Console\Commands; |
11 | 11 | |
@@ -50,10 +50,10 @@ discard block |
||
50 | 50 | $exists = $this->getDocsCurrentState(...$config->values()); |
51 | 51 | |
52 | 52 | $files = $manager->findFiles(...$config->values()) |
53 | - ->reject(function (DocsStatus $status) use ($exists) { |
|
53 | + ->reject(function(DocsStatus $status) use ($exists) { |
|
54 | 54 | return $exists->where('github_hash', $status->getHash())->first(); |
55 | 55 | }) |
56 | - ->each(function (DocsStatus $status) use ($config, $manager) { |
|
56 | + ->each(function(DocsStatus $status) use ($config, $manager) { |
|
57 | 57 | $args = $config->values(); |
58 | 58 | $args[] = $status->getPath(); |
59 | 59 |