diff --git a/app/Helpers/Api.php b/app/Helpers/Api.php index 9e599366a09cc608dd25c665833d88d8d29d57f0..2f82002ec085692c06cc0d244046bac2a9ef2057 100644 --- a/app/Helpers/Api.php +++ b/app/Helpers/Api.php @@ -38,7 +38,7 @@ public static function getSentryUnresolvedIssues() /** * Get outdated packages from Composer. * - * @param string $flag + * @param string $flag * @return array */ public static function getComposerOutdatedPackages($flag = '--no-dev') diff --git a/app/Helpers/Cetak.php b/app/Helpers/Cetak.php index 543ca73cc4f4c78b51c4bedd8140d25f5c4c1153..b8ee117cc18c3041eaf82fe2e55766d577d7d718 100644 --- a/app/Helpers/Cetak.php +++ b/app/Helpers/Cetak.php @@ -38,7 +38,8 @@ class Cetak * @param int $template_id The template ID * @param string|null $tanggal The date (optional) * @param string|null $pengelola The manager (optional) - * @return string The filename of the saved document + * @return string The filename of the saved document + * * @throws \Exception */ public static function cetak($jenis, $models, $filename, $template_id, $tanggal = null, $pengelola = null) diff --git a/app/Helpers/Fonnte.php b/app/Helpers/Fonnte.php index 16ee356dd8541cb5c9f89816a335dfd11ec5c279..80ea56a9019184592a8bb9fef5e3b9169778a726 100644 --- a/app/Helpers/Fonnte.php +++ b/app/Helpers/Fonnte.php @@ -29,8 +29,8 @@ public function __construct() /** * Make a request to the Fonnte API. * - * @param string $endpoint The API endpoint to call. - * @param array $params The parameters to send with the request. + * @param string $endpoint The API endpoint to call. + * @param array $params The parameters to send with the request. * @return array The response from the API. */ protected function makeRequest($endpoint, $params = []) @@ -63,8 +63,8 @@ protected function makeRequest($endpoint, $params = []) /** * Send a WhatsApp message using the Fonnte API. * - * @param string $phoneNumber The phone number to send the message to. - * @param string $message The message to send. + * @param string $phoneNumber The phone number to send the message to. + * @param string $message The message to send. * @return array The response from the API. */ public function sendWhatsAppMessage($phoneNumber, $message) diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index 08f824bda88b06ed29d89c17d29c84f36aa21a88..fc9a318988c2dcbf3bca1b24f85edf23dc09293d 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -262,7 +262,7 @@ class Helper /** * Get the name of the last sheet in an Excel file. * - * @param string $file The path to the Excel file. + * @param string $file The path to the Excel file. * @return string The name of the last sheet. */ public static function getLastSheetName($file) @@ -280,7 +280,7 @@ public static function getLastSheetName($file) /** * Format a phone number to a WhatsApp URL. * - * @param string $telepon The phone number to format. + * @param string $telepon The phone number to format. * @return string The formatted WhatsApp URL. */ public static function formatTelepon($telepon) @@ -295,7 +295,7 @@ public static function formatTelepon($telepon) /** * Check if the current date is within a specific quarter. * - * @param int $tw The quarter to check (1, 2, 3, or 4). + * @param int $tw The quarter to check (1, 2, 3, or 4). * @return bool True if the current date is within the specified quarter, false otherwise. */ public static function is_triwulan($tw) @@ -318,7 +318,7 @@ public static function is_triwulan($tw) /** * Check if the current date is within a specific cumulative quarter. * - * @param int $tw The cumulative quarter to check (1, 2, 3, or 4). + * @param int $tw The cumulative quarter to check (1, 2, 3, or 4). * @return bool True if the current date is within the specified cumulative quarter, false otherwise. */ public static function is_triwulan_kumulatif($tw) @@ -341,7 +341,7 @@ public static function is_triwulan_kumulatif($tw) /** * Get the current quarter based on the given month. * - * @param int $month The month to determine the quarter. + * @param int $month The month to determine the quarter. * @return int The current quarter (1, 2, 3, or 4). */ public static function getTriwulanBerjalan($month)