diff --git a/src/Checks/AppKeyIsSet.php b/src/Checks/AppKeyIsSet.php index 2423540..881b02e 100644 --- a/src/Checks/AppKeyIsSet.php +++ b/src/Checks/AppKeyIsSet.php @@ -7,6 +7,7 @@ class AppKeyIsSet implements Check /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -17,6 +18,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -27,6 +29,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/ComposerWithDevDependenciesIsUpToDate.php b/src/Checks/ComposerWithDevDependenciesIsUpToDate.php index e25cf86..1901bc7 100644 --- a/src/Checks/ComposerWithDevDependenciesIsUpToDate.php +++ b/src/Checks/ComposerWithDevDependenciesIsUpToDate.php @@ -3,7 +3,6 @@ namespace BeyondCode\SelfDiagnosis\Checks; use BeyondCode\SelfDiagnosis\Composer; -use BeyondCode\SelfDiagnosis\Checks\Check; class ComposerWithDevDependenciesIsUpToDate implements Check { @@ -22,6 +21,7 @@ public function __construct(Composer $composer) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -32,6 +32,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -44,6 +45,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/ComposerWithoutDevDependenciesIsUpToDate.php b/src/Checks/ComposerWithoutDevDependenciesIsUpToDate.php index fbd8d92..e7df8dc 100644 --- a/src/Checks/ComposerWithoutDevDependenciesIsUpToDate.php +++ b/src/Checks/ComposerWithoutDevDependenciesIsUpToDate.php @@ -3,7 +3,6 @@ namespace BeyondCode\SelfDiagnosis\Checks; use BeyondCode\SelfDiagnosis\Composer; -use BeyondCode\SelfDiagnosis\Checks\Check; class ComposerWithoutDevDependenciesIsUpToDate implements Check { @@ -22,6 +21,7 @@ public function __construct(Composer $composer) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -32,6 +32,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -44,6 +45,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/ConfigurationIsCached.php b/src/Checks/ConfigurationIsCached.php index a9c7795..cfc7cb4 100644 --- a/src/Checks/ConfigurationIsCached.php +++ b/src/Checks/ConfigurationIsCached.php @@ -2,14 +2,13 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class ConfigurationIsCached implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -20,6 +19,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -30,6 +30,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/ConfigurationIsNotCached.php b/src/Checks/ConfigurationIsNotCached.php index a7f4da4..002a845 100644 --- a/src/Checks/ConfigurationIsNotCached.php +++ b/src/Checks/ConfigurationIsNotCached.php @@ -2,14 +2,13 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class ConfigurationIsNotCached implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -20,6 +19,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -30,6 +30,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/CorrectPhpVersionIsInstalled.php b/src/Checks/CorrectPhpVersionIsInstalled.php index 3d1e8cc..6670721 100644 --- a/src/Checks/CorrectPhpVersionIsInstalled.php +++ b/src/Checks/CorrectPhpVersionIsInstalled.php @@ -17,6 +17,7 @@ public function __construct(Filesystem $filesystem) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -27,6 +28,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @return bool */ @@ -38,6 +40,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException * @return string */ diff --git a/src/Checks/DatabaseCanBeAccessed.php b/src/Checks/DatabaseCanBeAccessed.php index fa26e78..3145519 100644 --- a/src/Checks/DatabaseCanBeAccessed.php +++ b/src/Checks/DatabaseCanBeAccessed.php @@ -11,6 +11,7 @@ class DatabaseCanBeAccessed implements Check /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -21,6 +22,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -38,6 +40,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/DebugModeIsNotEnabled.php b/src/Checks/DebugModeIsNotEnabled.php index e76726e..869519f 100644 --- a/src/Checks/DebugModeIsNotEnabled.php +++ b/src/Checks/DebugModeIsNotEnabled.php @@ -2,14 +2,13 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class DebugModeIsNotEnabled implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -20,6 +19,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -30,6 +30,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/DirectoriesHaveCorrectPermissions.php b/src/Checks/DirectoriesHaveCorrectPermissions.php index 79121db..345ff1a 100644 --- a/src/Checks/DirectoriesHaveCorrectPermissions.php +++ b/src/Checks/DirectoriesHaveCorrectPermissions.php @@ -2,8 +2,8 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use Illuminate\Filesystem\Filesystem; use Illuminate\Support\Collection; +use Illuminate\Filesystem\Filesystem; class DirectoriesHaveCorrectPermissions implements Check { @@ -25,6 +25,7 @@ public function __construct(Filesystem $filesystem) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -35,6 +36,7 @@ public function name(array $config): string /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string @@ -47,6 +49,7 @@ public function message(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool diff --git a/src/Checks/EnvFileExists.php b/src/Checks/EnvFileExists.php index 622521a..4203eed 100644 --- a/src/Checks/EnvFileExists.php +++ b/src/Checks/EnvFileExists.php @@ -18,6 +18,7 @@ public function __construct(Filesystem $filesystem) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -28,6 +29,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -38,6 +40,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/ExampleEnvironmentVariablesAreSet.php b/src/Checks/ExampleEnvironmentVariablesAreSet.php index effa66d..1e2902e 100644 --- a/src/Checks/ExampleEnvironmentVariablesAreSet.php +++ b/src/Checks/ExampleEnvironmentVariablesAreSet.php @@ -4,7 +4,6 @@ use Dotenv\Dotenv; use Illuminate\Support\Collection; -use Illuminate\Filesystem\Filesystem; class ExampleEnvironmentVariablesAreSet implements Check { @@ -14,6 +13,7 @@ class ExampleEnvironmentVariablesAreSet implements Check /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -24,6 +24,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -43,6 +44,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/MigrationsAreUpToDate.php b/src/Checks/MigrationsAreUpToDate.php index f41568b..33a19a6 100644 --- a/src/Checks/MigrationsAreUpToDate.php +++ b/src/Checks/MigrationsAreUpToDate.php @@ -11,6 +11,7 @@ class MigrationsAreUpToDate implements Check /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -21,6 +22,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -38,6 +40,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/PhpExtensionsAreInstalled.php b/src/Checks/PhpExtensionsAreInstalled.php index 67cab86..874f62f 100644 --- a/src/Checks/PhpExtensionsAreInstalled.php +++ b/src/Checks/PhpExtensionsAreInstalled.php @@ -24,6 +24,7 @@ public function __construct(Filesystem $filesystem) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -34,6 +35,7 @@ public function name(array $config): string /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string @@ -46,6 +48,7 @@ public function message(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool diff --git a/src/Checks/RoutesAreCached.php b/src/Checks/RoutesAreCached.php index 8d63fa7..410346a 100644 --- a/src/Checks/RoutesAreCached.php +++ b/src/Checks/RoutesAreCached.php @@ -2,14 +2,13 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class RoutesAreCached implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -20,6 +19,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -30,6 +30,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/RoutesAreNotCached.php b/src/Checks/RoutesAreNotCached.php index 22bda94..3257fc1 100644 --- a/src/Checks/RoutesAreNotCached.php +++ b/src/Checks/RoutesAreNotCached.php @@ -2,14 +2,13 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class RoutesAreNotCached implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -20,6 +19,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -30,6 +30,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string diff --git a/src/Checks/StorageDirectoryIsLinked.php b/src/Checks/StorageDirectoryIsLinked.php index c07badc..e583e01 100644 --- a/src/Checks/StorageDirectoryIsLinked.php +++ b/src/Checks/StorageDirectoryIsLinked.php @@ -17,6 +17,7 @@ public function __construct(Filesystem $filesystem) /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -27,6 +28,7 @@ public function name(array $config): string /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string @@ -37,6 +39,7 @@ public function message(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool diff --git a/src/Checks/XDebugIsNotEnabled.php b/src/Checks/XDebugIsNotEnabled.php index 016cf7d..9e73240 100644 --- a/src/Checks/XDebugIsNotEnabled.php +++ b/src/Checks/XDebugIsNotEnabled.php @@ -2,13 +2,12 @@ namespace BeyondCode\SelfDiagnosis\Checks; -use BeyondCode\SelfDiagnosis\Checks\Check; - class XDebugIsNotEnabled implements Check { /** * The name of the check. * + * @param array $config * @return string */ public function name(array $config): string @@ -19,6 +18,7 @@ public function name(array $config): string /** * Perform the actual verification of this check. * + * @param array $config * @return bool */ public function check(array $config): bool @@ -29,6 +29,7 @@ public function check(array $config): bool /** * The error message to display in case the check does not pass. * + * @param array $config * @return string */ public function message(array $config): string