@@ -26,13 +26,13 @@ abstract class Module extends ServiceProvider implements ModuleContract
26
26
'api ' ,
27
27
];
28
28
29
- protected array $ policies ;
29
+ protected array $ policies = [] ;
30
30
31
- protected array $ middleware ;
31
+ protected array $ middleware = [] ;
32
32
33
- protected array $ listen ;
33
+ protected array $ listen = [] ;
34
34
35
- protected array $ subscribe ;
35
+ protected array $ subscribe = [] ;
36
36
37
37
protected string $ modulePath ;
38
38
@@ -85,7 +85,6 @@ protected function loadCommandSchedule(): void
85
85
86
86
/**
87
87
* @return void
88
- * @throws ReflectionException
89
88
*/
90
89
protected function loadMigrations (): void
91
90
{
@@ -98,7 +97,6 @@ protected function loadMigrations(): void
98
97
99
98
/**
100
99
* @return void
101
- * @throws ReflectionException
102
100
*/
103
101
protected function loadViews (): void
104
102
{
@@ -111,7 +109,6 @@ protected function loadViews(): void
111
109
112
110
/**
113
111
* @return void
114
- * @throws ReflectionException
115
112
*/
116
113
protected function loadTranslations (): void
117
114
{
@@ -124,7 +121,6 @@ protected function loadTranslations(): void
124
121
125
122
/**
126
123
* @return void
127
- * @throws ReflectionException
128
124
*/
129
125
protected function loadConfigs (): void
130
126
{
0 commit comments