We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df17132 commit 1304c99Copy full SHA for 1304c99
1 file changed
src/Middleware/TraceMiddleware.php
@@ -170,6 +170,13 @@ protected function getPath(ServerRequestInterface $request): string
170
171
protected function getUriMask(): array
172
{
173
- return is_array($this->config['uri_mask'])? $this->config['uri_mask'] : [];
+ if(
174
+ array_key_exists('uri_mask', $this->config) &&
175
+ is_array($this->config['uri_mask'])
176
+ ) {
177
+ return $this->config['uri_mask'];
178
+ }
179
+
180
+ return [];
181
}
182
0 commit comments