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.
2 parents bb5abdd + c137790 commit a4a9fcbCopy full SHA for a4a9fcb
Annotation/Route.php
@@ -74,7 +74,7 @@ public function __construct(array $data)
74
foreach ($data as $key => $value) {
75
$method = 'set'.str_replace('_', '', $key);
76
if (!method_exists($this, $method)) {
77
- throw new \BadMethodCallException(sprintf('Unknown property "%s" on annotation "%s".', $key, \get_class($this)));
+ throw new \BadMethodCallException(sprintf('Unknown property "%s" on annotation "%s".', $key, static::class));
78
}
79
$this->$method($value);
80
0 commit comments