Fix @throws tags with wrong class name

This commit is contained in:
Jens Schuppe 2024-03-25 16:03:07 +01:00
parent f81b476a30
commit 5efed1f6c8

View file

@ -221,7 +221,7 @@ class CRM_Twingle_Profile {
* Verifies whether the profile is valid (i.e. consistent and not colliding * Verifies whether the profile is valid (i.e. consistent and not colliding
* with other profiles). * with other profiles).
* *
* @throws \CRM\Twingle\Exceptions\ProfileValidationError * @throws \Civi\Twingle\Exceptions\ProfileValidationError
* @throws \Civi\Core\Exception\DBQueryException * @throws \Civi\Core\Exception\DBQueryException
* When the profile could not be successfully validated. * When the profile could not be successfully validated.
*/ */
@ -234,7 +234,7 @@ class CRM_Twingle_Profile {
/** /**
* Persists the profile within the database. * Persists the profile within the database.
* *
* @throws \CRM\Twingle\Exceptions\ProfileException * @throws \Civi\Twingle\Exceptions\ProfileException
*/ */
public function saveProfile() { public function saveProfile() {
// make sure it's valid // make sure it's valid
@ -272,7 +272,7 @@ class CRM_Twingle_Profile {
/** /**
* Deletes the profile from the database * Deletes the profile from the database
* *
* @throws \CRM\Twingle\Exceptions\ProfileException * @throws \Civi\Twingle\Exceptions\ProfileException
*/ */
public function deleteProfile() { public function deleteProfile() {
// Do only reset default profile // Do only reset default profile
@ -484,7 +484,7 @@ class CRM_Twingle_Profile {
* *
* @return CRM_Twingle_Profile | NULL * @return CRM_Twingle_Profile | NULL
* @throws \Civi\Core\Exception\DBQueryException * @throws \Civi\Core\Exception\DBQueryException
* @throws \CRM\Twingle\Exceptions\ProfileException * @throws \Civi\Twingle\Exceptions\ProfileException
*/ */
public static function getProfile(int $id = NULL) { public static function getProfile(int $id = NULL) {
if (!empty($id)) { if (!empty($id)) {