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 0e62680 commit f013177Copy full SHA for f013177
src/Detector.php
@@ -49,7 +49,9 @@ class Detector
49
public function __construct(int $mode = self::MODE_SIMPLE, ?Enabler $enabler = null)
50
{
51
if ($enabler === null && $mode & self::MODE_ENABLER) {
52
- throw new MissingEnablerException('Enabler mode requires the Enabler instance in constructor');
+ throw new MissingEnablerException(
53
+ 'Enabler mode (and Full mode) requires the Enabler instance in constructor'
54
+ );
55
}
56
57
$this->enabler = $enabler;
0 commit comments