|
@@ -61,7 +61,7 @@ discard block |
|
|
block discarded – undo |
|
61
|
61
|
* @return string the starting namespace for the app |
|
62
|
62
|
* @since 8.0.0 |
|
63
|
63
|
*/ |
|
64
|
|
- public static function buildAppNamespace(string $appId, string $topNamespace='OCA\\'): string { |
|
|
64
|
+ public static function buildAppNamespace(string $appId, string $topNamespace = 'OCA\\'): string { |
|
65
|
65
|
return \OC\AppFramework\App::buildAppNamespace($appId, $topNamespace); |
|
66
|
66
|
} |
|
67
|
67
|
|
|
@@ -74,7 +74,7 @@ discard block |
|
|
block discarded – undo |
|
74
|
74
|
public function __construct(string $appName, array $urlParams = []) { |
|
75
|
75
|
if (\OC::$server->getConfig()->getSystemValueBool('debug')) { |
|
76
|
76
|
$applicationClassName = get_class($this); |
|
77
|
|
- $e = new \RuntimeException('App class ' . $applicationClassName . ' is not setup via query() but directly'); |
|
|
77
|
+ $e = new \RuntimeException('App class '.$applicationClassName.' is not setup via query() but directly'); |
|
78
|
78
|
$setUpViaQuery = false; |
|
79
|
79
|
|
|
80
|
80
|
foreach ($e->getTrace() as $step) { |
Please login to merge, or discard this patch.