Skip to content

Commit 0d0e02f

Browse files
committed
chore: ran pint and fixed phpstan
1 parent 42c7958 commit 0d0e02f

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

src/Abstracts/BaseSystemCheck.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,8 @@ protected function safeCheck(callable $checkFunction): array
7878
*/
7979
protected function isServiceRunning(string $serviceName): bool
8080
{
81-
try {
82-
// Basic service check - can be extended based on needs
83-
return true; // Placeholder - implement based on your system
84-
} catch (\Exception $e) {
85-
return false;
86-
}
81+
// Basic service check - can be extended based on needs
82+
return true; // Placeholder - implement based on your system
8783
}
8884

8985
/**

src/Services/BaseDiscoveryService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
class BaseDiscoveryService
66
{
7-
function getNamespaceFromFile($filePath)
7+
public function getNamespaceFromFile($filePath)
88
{
9-
if (!file_exists($filePath)) {
9+
if (! file_exists($filePath)) {
1010
throw new Exception('File not found');
1111
}
1212

src/Services/CategoryDiscoveryService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ public function discover(): void
8686
{
8787
$categoryPath = config('nodishell.discovery.categories_path');
8888

89-
9089
if (! file_exists($categoryPath)) {
9190
// Or log a warning, depending on desired behavior
9291
return;

0 commit comments

Comments
 (0)