@@ -15,6 +15,6 @@ |
||
15 | 15 | */ |
16 | 16 | protected function getPackageProviders($app) |
17 | 17 | { |
18 | - return [SafeUrlsServiceProvider::class]; |
|
18 | + return [ SafeUrlsServiceProvider::class ]; |
|
19 | 19 | } |
20 | 20 | } |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | public static function threatTypes(): array |
62 | 62 | { |
63 | 63 | $threatTypes = config('safe-urls.google.threat_types'); |
64 | - return !empty($threatTypes) ? $threatTypes : []; |
|
64 | + return !empty($threatTypes) ? $threatTypes : [ ]; |
|
65 | 65 | |
66 | 66 | } |
67 | 67 | |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | public static function platformTypes(): array |
74 | 74 | { |
75 | 75 | $platformTypes = config('safe-urls.google.threat_platform_types'); |
76 | - return !empty($platformTypes) ? $platformTypes : []; |
|
76 | + return !empty($platformTypes) ? $platformTypes : [ ]; |
|
77 | 77 | |
78 | 78 | } |
79 | 79 | |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | public static function threatEntryTypes(): array |
86 | 86 | { |
87 | 87 | $threatEntryTypes = config('safe-urls.google.threat_entry_types'); |
88 | - return !empty($threatEntryTypes) ? $threatEntryTypes : [self::DEFAULT_THREAT_ENTRY_TYPE]; |
|
88 | + return !empty($threatEntryTypes) ? $threatEntryTypes : [ self::DEFAULT_THREAT_ENTRY_TYPE ]; |
|
89 | 89 | } |
90 | 90 | |
91 | 91 | /** |