Skip to content

Commit a4a9fcb

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Fix CS
2 parents bb5abdd + c137790 commit a4a9fcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Annotation/Route.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function __construct(array $data)
7474
foreach ($data as $key => $value) {
7575
$method = 'set'.str_replace('_', '', $key);
7676
if (!method_exists($this, $method)) {
77-
throw new \BadMethodCallException(sprintf('Unknown property "%s" on annotation "%s".', $key, \get_class($this)));
77+
throw new \BadMethodCallException(sprintf('Unknown property "%s" on annotation "%s".', $key, static::class));
7878
}
7979
$this->$method($value);
8080
}

0 commit comments

Comments
 (0)