@@ -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 | |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | public function __construct(Repository $original) |
23 | 23 | { |
24 | 24 | $connection = $original->get('docs.default'); |
25 | - $config = $original->get('docs.connections.' . $connection); |
|
25 | + $config = $original->get('docs.connections.'.$connection); |
|
26 | 26 | |
27 | 27 | parent::__construct(array_merge($config, [ |
28 | 28 |
@@ -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 |