Skip to content

Commit

Permalink
Merge pull request #135 from GW2Treasures/feature/get-type
Browse files Browse the repository at this point in the history
  • Loading branch information
darthmaim authored Nov 14, 2023
2 parents 17306b3 + b15207d commit 326cc20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GW2Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function registerHandler( $handler ) {
}

$firstConstructorParameter = $handlerClass->getConstructor()->getParameters()[0];
$this->handlers[ $handler ] = $firstConstructorParameter->getClass()->getName();
$this->handlers[ $handler ] = $firstConstructorParameter->getType()->getName();
}

protected function registerDefaultHandlers() {
Expand Down

0 comments on commit 326cc20

Please sign in to comment.