@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Models; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Models; |
12 | 12 |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * For the full copyright and license information, please view the LICENSE |
7 | 7 | * file that was distributed with this source code. |
8 | 8 | */ |
9 | -declare(strict_types=1); |
|
9 | +declare(strict_types = 1); |
|
10 | 10 | |
11 | 11 | namespace App\Models\Docs; |
12 | 12 |
@@ -4,7 +4,7 @@ |
||
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\Models\Docs; |
10 | 10 |
@@ -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\Models\Docs; |
10 | 10 | |
@@ -24,15 +24,15 @@ discard block |
||
24 | 24 | */ |
25 | 25 | public function creating(Docs $docs): void |
26 | 26 | { |
27 | - if (! $docs->github_org) { |
|
27 | + if (!$docs->github_org) { |
|
28 | 28 | $docs->github_org = self::DEFAULT_GITHUB_ORG; |
29 | 29 | } |
30 | 30 | |
31 | - if (! $docs->github_repo) { |
|
31 | + if (!$docs->github_repo) { |
|
32 | 32 | $docs->github_repo = self::DEFAULT_GITHUB_REPO; |
33 | 33 | } |
34 | 34 | |
35 | - if (! $docs->github_branch) { |
|
35 | + if (!$docs->github_branch) { |
|
36 | 36 | $docs->github_branch = self::DEFAULT_GITHUB_BRANCH; |
37 | 37 | } |
38 | 38 | } |
@@ -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\Models\Docs; |
10 | 10 | |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | */ |
24 | 24 | public function creating(Docs $docs): void |
25 | 25 | { |
26 | - if (! $docs->version) { |
|
26 | + if (!$docs->version) { |
|
27 | 27 | $docs->version = self::DEFAULT_LATEST_VERSION; |
28 | 28 | } |
29 | 29 | } |
@@ -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\Models\Docs; |
10 | 10 | |
@@ -20,6 +20,6 @@ discard block |
||
20 | 20 | */ |
21 | 21 | public function saving(Docs $docs): void |
22 | 22 | { |
23 | - $docs->url = $docs->version . '/' . $docs->slug; |
|
23 | + $docs->url = $docs->version.'/'.$docs->slug; |
|
24 | 24 | } |
25 | 25 | } |
26 | 26 | \ No newline at end of file |