Refactor SMS Provider Classes to Support Nullable API Key and Sender

- Updated KavehNegarProvider and RanginehProvider constructors to accept nullable API key and sender parameters.
- Adjusted methods in both providers to handle cases where the API key or sender may not be set, preventing potential TypeErrors.
- Modified community IDs in graph.json for various entities to reflect updated associations.
- Updated manifest.json with new modification times and AST hashes for KavehNegarProvider and RanginehProvider.
- Added new AST cache files for KavehNegarProvider and RanginehProvider reflecting the latest structure and relationships.
This commit is contained in:
hamed
2026-06-29 19:31:42 +03:30
parent afb5b28272
commit 830f7e8d0c
9 changed files with 109 additions and 93 deletions
+62 -62
View File
@@ -8562,7 +8562,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "migrations_version20260609133546",
"community": 405,
"community": 406,
"norm_label": "version20260609133546.php"
},
{
@@ -8572,7 +8572,7 @@
"source_location": "L13",
"_origin": "ast",
"id": "migrations_version20260609133546_version20260609133546",
"community": 405,
"community": 406,
"norm_label": "version20260609133546"
},
{
@@ -8582,7 +8582,7 @@
"source_location": "L15",
"_origin": "ast",
"id": "migrations_version20260609133546_version20260609133546_getdescription",
"community": 405,
"community": 406,
"norm_label": ".getdescription()"
},
{
@@ -8592,7 +8592,7 @@
"source_location": "L20",
"_origin": "ast",
"id": "migrations_version20260609133546_version20260609133546_up",
"community": 405,
"community": 406,
"norm_label": ".up()"
},
{
@@ -8602,7 +8602,7 @@
"source_location": "L20",
"_origin": "ast",
"id": "migrations_version20260609133546_php_schema",
"community": 405,
"community": 406,
"norm_label": "schema"
},
{
@@ -8612,7 +8612,7 @@
"source_location": "L28",
"_origin": "ast",
"id": "migrations_version20260609133546_version20260609133546_down",
"community": 405,
"community": 406,
"norm_label": ".down()"
},
{
@@ -8622,7 +8622,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "migrations_version20260609134112",
"community": 406,
"community": 649,
"norm_label": "version20260609134112.php"
},
{
@@ -8632,7 +8632,7 @@
"source_location": "L13",
"_origin": "ast",
"id": "migrations_version20260609134112_version20260609134112",
"community": 406,
"community": 649,
"norm_label": "version20260609134112"
},
{
@@ -8642,7 +8642,7 @@
"source_location": "L15",
"_origin": "ast",
"id": "migrations_version20260609134112_version20260609134112_getdescription",
"community": 406,
"community": 649,
"norm_label": ".getdescription()"
},
{
@@ -8652,7 +8652,7 @@
"source_location": "L20",
"_origin": "ast",
"id": "migrations_version20260609134112_version20260609134112_up",
"community": 406,
"community": 649,
"norm_label": ".up()"
},
{
@@ -8662,7 +8662,7 @@
"source_location": "L20",
"_origin": "ast",
"id": "migrations_version20260609134112_php_schema",
"community": 406,
"community": 649,
"norm_label": "schema"
},
{
@@ -8672,7 +8672,7 @@
"source_location": "L31",
"_origin": "ast",
"id": "migrations_version20260609134112_version20260609134112_down",
"community": 406,
"community": 649,
"norm_label": ".down()"
},
{
@@ -22682,7 +22682,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "repository_siteconfigrepository",
"community": 607,
"community": 53,
"norm_label": "siteconfigrepository.php"
},
{
@@ -22692,7 +22692,7 @@
"source_location": "L9",
"_origin": "ast",
"id": "repository_siteconfigrepository_siteconfigrepository",
"community": 607,
"community": 53,
"norm_label": "siteconfigrepository"
},
{
@@ -22702,7 +22702,7 @@
"source_location": "L40",
"_origin": "ast",
"id": "repository_siteconfigrepository_siteconfigrepository_construct",
"community": 607,
"community": 53,
"norm_label": ".__construct()"
},
{
@@ -22712,7 +22712,7 @@
"source_location": "L40",
"_origin": "ast",
"id": "src_config_repository_siteconfigrepository_php_managerregistry",
"community": 607,
"community": 53,
"norm_label": "managerregistry"
},
{
@@ -22722,7 +22722,7 @@
"source_location": "L45",
"_origin": "ast",
"id": "repository_siteconfigrepository_siteconfigrepository_get",
"community": 607,
"community": 53,
"norm_label": ".get()"
},
{
@@ -22732,7 +22732,7 @@
"source_location": "L54",
"_origin": "ast",
"id": "repository_siteconfigrepository_siteconfigrepository_getall",
"community": 607,
"community": 53,
"norm_label": ".getall()"
},
{
@@ -22742,7 +22742,7 @@
"source_location": "L70",
"_origin": "ast",
"id": "repository_siteconfigrepository_siteconfigrepository_set",
"community": 607,
"community": 53,
"norm_label": ".set()"
},
{
@@ -33112,7 +33112,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "service_commissionservice",
"community": 522,
"community": 405,
"norm_label": "commissionservice.php"
},
{
@@ -33122,7 +33122,7 @@
"source_location": "L20",
"_origin": "ast",
"id": "service_commissionservice_commissionservice",
"community": 522,
"community": 405,
"norm_label": "commissionservice"
},
{
@@ -33132,7 +33132,7 @@
"source_location": "L22",
"_origin": "ast",
"id": "service_commissionservice_commissionservice_construct",
"community": 522,
"community": 405,
"norm_label": ".__construct()"
},
{
@@ -33142,7 +33142,7 @@
"source_location": "L35",
"_origin": "ast",
"id": "service_commissionservice_commissionservice_processappointment",
"community": 522,
"community": 405,
"norm_label": ".processappointment()"
},
{
@@ -33152,7 +33152,7 @@
"source_location": "L35",
"_origin": "ast",
"id": "src_settlement_service_commissionservice_php_payment",
"community": 522,
"community": 405,
"norm_label": "payment"
},
{
@@ -33162,7 +33162,7 @@
"source_location": "L56",
"_origin": "ast",
"id": "service_commissionservice_commissionservice_processsubscription",
"community": 522,
"community": 405,
"norm_label": ".processsubscription()"
},
{
@@ -33172,7 +33172,7 @@
"source_location": "L73",
"_origin": "ast",
"id": "service_commissionservice_commissionservice_resolverep",
"community": 522,
"community": 405,
"norm_label": ".resolverep()"
},
{
@@ -33182,7 +33182,7 @@
"source_location": "L73",
"_origin": "ast",
"id": "src_settlement_service_commissionservice_php_representation",
"community": 522,
"community": 405,
"norm_label": "representation"
},
{
@@ -33192,7 +33192,7 @@
"source_location": "L80",
"_origin": "ast",
"id": "service_commissionservice_commissionservice_settle",
"community": 522,
"community": 405,
"norm_label": ".settle()"
},
{
@@ -35349,7 +35349,7 @@
"label": ".key()",
"file_type": "code",
"source_file": "src/Sms/Provider/KavehNegarProvider.php",
"source_location": "L19",
"source_location": "L21",
"_origin": "ast",
"id": "provider_kavehnegarprovider_kavehnegarprovider_key",
"community": 82,
@@ -35359,7 +35359,7 @@
"label": ".sender()",
"file_type": "code",
"source_file": "src/Sms/Provider/KavehNegarProvider.php",
"source_location": "L20",
"source_location": "L22",
"_origin": "ast",
"id": "provider_kavehnegarprovider_kavehnegarprovider_sender",
"community": 82,
@@ -35369,7 +35369,7 @@
"label": ".getName()",
"file_type": "code",
"source_file": "src/Sms/Provider/KavehNegarProvider.php",
"source_location": "L22",
"source_location": "L24",
"_origin": "ast",
"id": "provider_kavehnegarprovider_kavehnegarprovider_getname",
"community": 82,
@@ -35379,7 +35379,7 @@
"label": ".send()",
"file_type": "code",
"source_file": "src/Sms/Provider/KavehNegarProvider.php",
"source_location": "L24",
"source_location": "L26",
"_origin": "ast",
"id": "provider_kavehnegarprovider_kavehnegarprovider_send",
"community": 82,
@@ -35389,7 +35389,7 @@
"label": ".sendTemplate()",
"file_type": "code",
"source_file": "src/Sms/Provider/KavehNegarProvider.php",
"source_location": "L44",
"source_location": "L46",
"_origin": "ast",
"id": "provider_kavehnegarprovider_kavehnegarprovider_sendtemplate",
"community": 82,
@@ -35429,7 +35429,7 @@
"label": ".getName()",
"file_type": "code",
"source_file": "src/Sms/Provider/RanginehProvider.php",
"source_location": "L17",
"source_location": "L19",
"_origin": "ast",
"id": "provider_ranginehprovider_ranginehprovider_getname",
"community": 82,
@@ -35439,7 +35439,7 @@
"label": ".send()",
"file_type": "code",
"source_file": "src/Sms/Provider/RanginehProvider.php",
"source_location": "L19",
"source_location": "L21",
"_origin": "ast",
"id": "provider_ranginehprovider_ranginehprovider_send",
"community": 82,
@@ -35449,7 +35449,7 @@
"label": ".sendTemplate()",
"file_type": "code",
"source_file": "src/Sms/Provider/RanginehProvider.php",
"source_location": "L33",
"source_location": "L35",
"_origin": "ast",
"id": "provider_ranginehprovider_ranginehprovider_sendtemplate",
"community": 82,
@@ -36982,7 +36982,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "repository_clinicstaffrepository",
"community": 53,
"community": 607,
"norm_label": "clinicstaffrepository.php"
},
{
@@ -36992,7 +36992,7 @@
"source_location": "L9",
"_origin": "ast",
"id": "repository_clinicstaffrepository_clinicstaffrepository",
"community": 53,
"community": 607,
"norm_label": "clinicstaffrepository"
},
{
@@ -37002,7 +37002,7 @@
"source_location": "L11",
"_origin": "ast",
"id": "repository_clinicstaffrepository_clinicstaffrepository_construct",
"community": 53,
"community": 607,
"norm_label": ".__construct()"
},
{
@@ -37012,7 +37012,7 @@
"source_location": "L11",
"_origin": "ast",
"id": "src_staff_repository_clinicstaffrepository_php_managerregistry",
"community": 53,
"community": 607,
"norm_label": "managerregistry"
},
{
@@ -37022,7 +37022,7 @@
"source_location": "L16",
"_origin": "ast",
"id": "repository_clinicstaffrepository_clinicstaffrepository_findbyuuid",
"community": 53,
"community": 607,
"norm_label": ".findbyuuid()"
},
{
@@ -37032,7 +37032,7 @@
"source_location": "L16",
"_origin": "ast",
"id": "src_staff_repository_clinicstaffrepository_php_clinicstaff",
"community": 53,
"community": 607,
"norm_label": "clinicstaff"
},
{
@@ -37042,7 +37042,7 @@
"source_location": "L21",
"_origin": "ast",
"id": "repository_clinicstaffrepository_clinicstaffrepository_findbyentity",
"community": 53,
"community": 607,
"norm_label": ".findbyentity()"
},
{
@@ -37052,7 +37052,7 @@
"source_location": "L37",
"_origin": "ast",
"id": "repository_clinicstaffrepository_clinicstaffrepository_save",
"community": 53,
"community": 607,
"norm_label": ".save()"
},
{
@@ -41092,7 +41092,7 @@
"source_location": "L1",
"_origin": "ast",
"id": "settlement_wallettransactionspaginationtest",
"community": 86,
"community": 522,
"norm_label": "wallettransactionspaginationtest.php"
},
{
@@ -41102,7 +41102,7 @@
"source_location": "L12",
"_origin": "ast",
"id": "settlement_wallettransactionspaginationtest_wallettransactionspaginationtest",
"community": 86,
"community": 522,
"norm_label": "wallettransactionspaginationtest"
},
{
@@ -41112,7 +41112,7 @@
"source_location": "L14",
"_origin": "ast",
"id": "settlement_wallettransactionspaginationtest_wallettransactionspaginationtest_testpaginatesandreportstotals",
"community": 86,
"community": 522,
"norm_label": ".testpaginatesandreportstotals()"
},
{
@@ -58522,7 +58522,7 @@
"source_location": "L3153",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_33_post_image_clinic",
"community": 662,
"community": 304,
"norm_label": "33. \ud83d\udd35 `post` image_clinic"
},
{
@@ -58532,7 +58532,7 @@
"source_location": "L3161",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_\u0647\u062f\u0631\u0647\u0627\u06cc_\u0627\u0636\u0627\u0641\u06cc_3161",
"community": 662,
"community": 304,
"norm_label": "\u0647\u062f\u0631\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc"
},
{
@@ -58542,7 +58542,7 @@
"source_location": "L3169",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_\u067e\u0627\u0633\u062e_\u0647\u0627_3169",
"community": 662,
"community": 304,
"norm_label": "\u067e\u0627\u0633\u062e\u200c\u0647\u0627"
},
{
@@ -58632,7 +58632,7 @@
"source_location": "L3250",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_36_get_get_my_rate",
"community": 304,
"community": 667,
"norm_label": "36. \ud83d\udfe2 `get` get my rate"
},
{
@@ -58642,7 +58642,7 @@
"source_location": "L3260",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_\u0647\u062f\u0631\u0647\u0627\u06cc_\u0627\u0636\u0627\u0641\u06cc_3260",
"community": 304,
"community": 667,
"norm_label": "\u0647\u062f\u0631\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc"
},
{
@@ -58652,7 +58652,7 @@
"source_location": "L3267",
"_origin": "ast",
"id": "docs_clinicpro_manual_v2_\u067e\u0627\u0633\u062e_\u0647\u0627_3267",
"community": 304,
"community": 667,
"norm_label": "\u067e\u0627\u0633\u062e\u200c\u0647\u0627"
},
{
@@ -63212,7 +63212,7 @@
"source_location": "L585",
"_origin": "ast",
"id": "api_admin_payment_management",
"community": 649,
"community": 201,
"norm_label": "payment management"
},
{
@@ -63222,7 +63222,7 @@
"source_location": "L587",
"_origin": "ast",
"id": "api_admin_get_api_v1_admin_payments",
"community": 649,
"community": 201,
"norm_label": "get `/api/v1/admin/payments`"
},
{
@@ -63232,7 +63232,7 @@
"source_location": "L593",
"_origin": "ast",
"id": "api_admin_query_parameters_593",
"community": 649,
"community": 201,
"norm_label": "query parameters"
},
{
@@ -63242,7 +63242,7 @@
"source_location": "L600",
"_origin": "ast",
"id": "api_admin_response_200_600",
"community": 649,
"community": 201,
"norm_label": "response `200`"
},
{
@@ -63332,7 +63332,7 @@
"source_location": "L696",
"_origin": "ast",
"id": "api_admin_secretary_management",
"community": 201,
"community": 662,
"norm_label": "secretary management"
},
{
@@ -63342,7 +63342,7 @@
"source_location": "L698",
"_origin": "ast",
"id": "api_admin_get_api_v1_admin_secretaries",
"community": 201,
"community": 662,
"norm_label": "get `/api/v1/admin/secretaries`"
},
{
@@ -63352,7 +63352,7 @@
"source_location": "L704",
"_origin": "ast",
"id": "api_admin_query_parameters_704",
"community": 201,
"community": 662,
"norm_label": "query parameters"
},
{
@@ -63362,7 +63362,7 @@
"source_location": "L711",
"_origin": "ast",
"id": "api_admin_response_200_711",
"community": 201,
"community": 662,
"norm_label": "response `200`"
},
{
@@ -199358,5 +199358,5 @@
}
],
"hyperedges": [],
"built_at_commit": "97958ecc7d8793c324d112089f763d6f9702f2b9"
"built_at_commit": "afb5b2827298c9e2301197713a975f0a376c8475"
}