Skip to content

Commit 9f68cbf

Browse files
committed
nitpick
1 parent f9a96e9 commit 9f68cbf

17 files changed

+52
-16
lines changed

src/Checks/AppKeyIsSet.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class AppKeyIsSet implements Check
77
/**
88
* The name of the check.
99
*
10+
* @param array $config
1011
* @return string
1112
*/
1213
public function name(array $config): string
@@ -17,6 +18,7 @@ public function name(array $config): string
1718
/**
1819
* Perform the actual verification of this check.
1920
*
21+
* @param array $config
2022
* @return bool
2123
*/
2224
public function check(array $config): bool
@@ -27,6 +29,7 @@ public function check(array $config): bool
2729
/**
2830
* The error message to display in case the check does not pass.
2931
*
32+
* @param array $config
3033
* @return string
3134
*/
3235
public function message(array $config): string

src/Checks/ComposerWithDevDependenciesIsUpToDate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace BeyondCode\SelfDiagnosis\Checks;
44

55
use BeyondCode\SelfDiagnosis\Composer;
6-
use BeyondCode\SelfDiagnosis\Checks\Check;
76

87
class ComposerWithDevDependenciesIsUpToDate implements Check
98
{
@@ -22,6 +21,7 @@ public function __construct(Composer $composer)
2221
/**
2322
* The name of the check.
2423
*
24+
* @param array $config
2525
* @return string
2626
*/
2727
public function name(array $config): string
@@ -32,6 +32,7 @@ public function name(array $config): string
3232
/**
3333
* Perform the actual verification of this check.
3434
*
35+
* @param array $config
3536
* @return bool
3637
*/
3738
public function check(array $config): bool
@@ -44,6 +45,7 @@ public function check(array $config): bool
4445
/**
4546
* The error message to display in case the check does not pass.
4647
*
48+
* @param array $config
4749
* @return string
4850
*/
4951
public function message(array $config): string

src/Checks/ComposerWithoutDevDependenciesIsUpToDate.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace BeyondCode\SelfDiagnosis\Checks;
44

55
use BeyondCode\SelfDiagnosis\Composer;
6-
use BeyondCode\SelfDiagnosis\Checks\Check;
76

87
class ComposerWithoutDevDependenciesIsUpToDate implements Check
98
{
@@ -22,6 +21,7 @@ public function __construct(Composer $composer)
2221
/**
2322
* The name of the check.
2423
*
24+
* @param array $config
2525
* @return string
2626
*/
2727
public function name(array $config): string
@@ -32,6 +32,7 @@ public function name(array $config): string
3232
/**
3333
* Perform the actual verification of this check.
3434
*
35+
* @param array $config
3536
* @return bool
3637
*/
3738
public function check(array $config): bool
@@ -44,6 +45,7 @@ public function check(array $config): bool
4445
/**
4546
* The error message to display in case the check does not pass.
4647
*
48+
* @param array $config
4749
* @return string
4850
*/
4951
public function message(array $config): string

src/Checks/ConfigurationIsCached.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
namespace BeyondCode\SelfDiagnosis\Checks;
44

5-
use BeyondCode\SelfDiagnosis\Checks\Check;
6-
75
class ConfigurationIsCached implements Check
86
{
97

108
/**
119
* The name of the check.
1210
*
11+
* @param array $config
1312
* @return string
1413
*/
1514
public function name(array $config): string
@@ -20,6 +19,7 @@ public function name(array $config): string
2019
/**
2120
* Perform the actual verification of this check.
2221
*
22+
* @param array $config
2323
* @return bool
2424
*/
2525
public function check(array $config): bool
@@ -30,6 +30,7 @@ public function check(array $config): bool
3030
/**
3131
* The error message to display in case the check does not pass.
3232
*
33+
* @param array $config
3334
* @return string
3435
*/
3536
public function message(array $config): string

src/Checks/ConfigurationIsNotCached.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
namespace BeyondCode\SelfDiagnosis\Checks;
44

5-
use BeyondCode\SelfDiagnosis\Checks\Check;
6-
75
class ConfigurationIsNotCached implements Check
86
{
97

108
/**
119
* The name of the check.
1210
*
11+
* @param array $config
1312
* @return string
1413
*/
1514
public function name(array $config): string
@@ -20,6 +19,7 @@ public function name(array $config): string
2019
/**
2120
* Perform the actual verification of this check.
2221
*
22+
* @param array $config
2323
* @return bool
2424
*/
2525
public function check(array $config): bool
@@ -30,6 +30,7 @@ public function check(array $config): bool
3030
/**
3131
* The error message to display in case the check does not pass.
3232
*
33+
* @param array $config
3334
* @return string
3435
*/
3536
public function message(array $config): string

src/Checks/CorrectPhpVersionIsInstalled.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public function __construct(Filesystem $filesystem)
1717
/**
1818
* The name of the check.
1919
*
20+
* @param array $config
2021
* @return string
2122
*/
2223
public function name(array $config): string
@@ -27,6 +28,7 @@ public function name(array $config): string
2728
/**
2829
* Perform the actual verification of this check.
2930
*
31+
* @param array $config
3032
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
3133
* @return bool
3234
*/
@@ -38,6 +40,7 @@ public function check(array $config): bool
3840
/**
3941
* The error message to display in case the check does not pass.
4042
*
43+
* @param array $config
4144
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
4245
* @return string
4346
*/

src/Checks/DatabaseCanBeAccessed.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class DatabaseCanBeAccessed implements Check
1111
/**
1212
* The name of the check.
1313
*
14+
* @param array $config
1415
* @return string
1516
*/
1617
public function name(array $config): string
@@ -21,6 +22,7 @@ public function name(array $config): string
2122
/**
2223
* Perform the actual verification of this check.
2324
*
25+
* @param array $config
2426
* @return bool
2527
*/
2628
public function check(array $config): bool
@@ -38,6 +40,7 @@ public function check(array $config): bool
3840
/**
3941
* The error message to display in case the check does not pass.
4042
*
43+
* @param array $config
4144
* @return string
4245
*/
4346
public function message(array $config): string

src/Checks/DebugModeIsNotEnabled.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22

33
namespace BeyondCode\SelfDiagnosis\Checks;
44

5-
use BeyondCode\SelfDiagnosis\Checks\Check;
6-
75
class DebugModeIsNotEnabled implements Check
86
{
97

108
/**
119
* The name of the check.
1210
*
11+
* @param array $config
1312
* @return string
1413
*/
1514
public function name(array $config): string
@@ -20,6 +19,7 @@ public function name(array $config): string
2019
/**
2120
* Perform the actual verification of this check.
2221
*
22+
* @param array $config
2323
* @return bool
2424
*/
2525
public function check(array $config): bool
@@ -30,6 +30,7 @@ public function check(array $config): bool
3030
/**
3131
* The error message to display in case the check does not pass.
3232
*
33+
* @param array $config
3334
* @return string
3435
*/
3536
public function message(array $config): string

src/Checks/DirectoriesHaveCorrectPermissions.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace BeyondCode\SelfDiagnosis\Checks;
44

5-
use Illuminate\Filesystem\Filesystem;
65
use Illuminate\Support\Collection;
6+
use Illuminate\Filesystem\Filesystem;
77

88
class DirectoriesHaveCorrectPermissions implements Check
99
{
@@ -25,6 +25,7 @@ public function __construct(Filesystem $filesystem)
2525
/**
2626
* The name of the check.
2727
*
28+
* @param array $config
2829
* @return string
2930
*/
3031
public function name(array $config): string
@@ -35,6 +36,7 @@ public function name(array $config): string
3536
/**
3637
* The error message to display in case the check does not pass.
3738
*
39+
* @param array $config
3840
* @return string
3941
*/
4042
public function message(array $config): string
@@ -47,6 +49,7 @@ public function message(array $config): string
4749
/**
4850
* Perform the actual verification of this check.
4951
*
52+
* @param array $config
5053
* @return bool
5154
*/
5255
public function check(array $config): bool

src/Checks/EnvFileExists.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public function __construct(Filesystem $filesystem)
1818
/**
1919
* The name of the check.
2020
*
21+
* @param array $config
2122
* @return string
2223
*/
2324
public function name(array $config): string
@@ -28,6 +29,7 @@ public function name(array $config): string
2829
/**
2930
* Perform the actual verification of this check.
3031
*
32+
* @param array $config
3133
* @return bool
3234
*/
3335
public function check(array $config): bool
@@ -38,6 +40,7 @@ public function check(array $config): bool
3840
/**
3941
* The error message to display in case the check does not pass.
4042
*
43+
* @param array $config
4144
* @return string
4245
*/
4346
public function message(array $config): string

0 commit comments

Comments
 (0)