@@ -26,13 +26,13 @@ abstract class Module extends ServiceProvider implements ModuleContract
2626 'api ' ,
2727 ];
2828
29- protected array $ policies ;
29+ protected array $ policies = [] ;
3030
31- protected array $ middleware ;
31+ protected array $ middleware = [] ;
3232
33- protected array $ listen ;
33+ protected array $ listen = [] ;
3434
35- protected array $ subscribe ;
35+ protected array $ subscribe = [] ;
3636
3737 protected string $ modulePath ;
3838
@@ -85,7 +85,6 @@ protected function loadCommandSchedule(): void
8585
8686 /**
8787 * @return void
88- * @throws ReflectionException
8988 */
9089 protected function loadMigrations (): void
9190 {
@@ -98,7 +97,6 @@ protected function loadMigrations(): void
9897
9998 /**
10099 * @return void
101- * @throws ReflectionException
102100 */
103101 protected function loadViews (): void
104102 {
@@ -111,7 +109,6 @@ protected function loadViews(): void
111109
112110 /**
113111 * @return void
114- * @throws ReflectionException
115112 */
116113 protected function loadTranslations (): void
117114 {
@@ -124,7 +121,6 @@ protected function loadTranslations(): void
124121
125122 /**
126123 * @return void
127- * @throws ReflectionException
128124 */
129125 protected function loadConfigs (): void
130126 {
0 commit comments