We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acc1c7a commit e5fe330Copy full SHA for e5fe330
1 file changed
WebFiori/Http/WebServicesManager.php
@@ -156,7 +156,7 @@ public function addService(WebService $service) : WebServicesManager {
156
*
157
* @return WebServicesManager Returns the same instance for method chaining.
158
*/
159
- public function autoDiscoverServices(string $path = null) : WebServicesManager {
+ public function autoDiscoverServices(?string $path = null) : WebServicesManager {
160
if ($path === null) {
161
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 1);
162
$path = dirname($trace[0]['file']);
0 commit comments