@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @param string|null $json_config_file The path to the JSON configuration file to use. |
75 | 75 | */ |
76 | - public static function init(?string $json_config_file = null) : void |
|
76 | + public static function init(? string $json_config_file = null) : void |
|
77 | 77 | { |
78 | 78 | // Check if the system is already initiated |
79 | 79 | |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * |
134 | 134 | * @param string|null $json_config_file |
135 | 135 | */ |
136 | - public static function initConfig(?string $json_config_file = null) : void |
|
136 | + public static function initConfig(? string $json_config_file = null) : void |
|
137 | 137 | { |
138 | 138 | // Check if the system is already initiated |
139 | 139 |
@@ -170,7 +170,7 @@ |
||
170 | 170 | * |
171 | 171 | * @return string|null |
172 | 172 | */ |
173 | - public function getInProgress() : ?string |
|
173 | + public function getInProgress() : ? string |
|
174 | 174 | { |
175 | 175 | return $this->inProgress; |
176 | 176 | } |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | { |
148 | 148 | \$STATIC_METHOD_TYPES = [ |
149 | 149 | |
150 | -METADATA; |
|
150 | +metadata; |
|
151 | 151 | } |
152 | 152 | |
153 | 153 | private static function phpstormMetadataLibraries($cervo_libraries, $libraries) |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | $towrite = <<<METADATA |
156 | 156 | \Cervo\Core::getLibrary('') => [ |
157 | 157 | |
158 | -METADATA; |
|
158 | +metadata; |
|
159 | 159 | |
160 | 160 | foreach ($cervo_libraries as $f) { |
161 | 161 | $class = str_replace('/', '\\', $f); |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | $towrite .= <<<METADATA |
182 | 182 | ], |
183 | 183 | |
184 | -METADATA; |
|
184 | +metadata; |
|
185 | 185 | |
186 | 186 | return $towrite; |
187 | 187 | } |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | $towrite = <<<METADATA |
192 | 192 | \Cervo\Core::getController('') => [ |
193 | 193 | |
194 | -METADATA; |
|
194 | +metadata; |
|
195 | 195 | |
196 | 196 | foreach ($controllers as $f) { |
197 | 197 | $ex = explode('/', $f); |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | $towrite .= <<<METADATA |
212 | 212 | ], |
213 | 213 | |
214 | -METADATA; |
|
214 | +metadata; |
|
215 | 215 | |
216 | 216 | return $towrite; |
217 | 217 | } |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | ]; |
224 | 224 | } |
225 | 225 | |
226 | -METADATA; |
|
226 | +metadata; |
|
227 | 227 | } |
228 | 228 | |
229 | 229 | /** |