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 8e12c9d commit 749f009Copy full SHA for 749f009
src/JohnKary/PHPUnit/Listener/SpeedTrapListener.php
@@ -308,8 +308,8 @@ protected function renderFooter()
308
*/
309
protected function loadOptions(array $options)
310
{
311
- $this->slowThreshold = isset($options['slowThreshold']) ? $options['slowThreshold'] : 500;
312
- $this->reportLength = isset($options['reportLength']) ? $options['reportLength'] : 10;
+ $this->slowThreshold = $options['slowThreshold'] ?? 500;
+ $this->reportLength = $options['reportLength'] ?? 10;
313
}
314
315
/**
0 commit comments