Skip to content

Commit

Permalink
refactor(graphql)!: Removed deprecated ClientException::getCategory().
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Jan 1, 2024
1 parent 52f6d87 commit 24cb66f
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,11 @@

use GraphQL\Error\ClientAware;
use LastDragon_ru\LaraASP\GraphQL\Builder\Exceptions\BuilderException;
use LastDragon_ru\LaraASP\GraphQL\Package;
use Override;

abstract class ClientException extends BuilderException implements ClientAware {
#[Override]
public function isClientSafe(): bool {
return true;
}

/**
* @deprecated 5.2.0 Not needed anymore and will be removed soon.
*/
public function getCategory(): string {
return Package::Name;
}
}

0 comments on commit 24cb66f

Please sign in to comment.