Skip to content

Commit 9a1e86f

Browse files
Merge pull request #124 from laravelwebdev/analysis-YO4e0o
Apply fixes from StyleCI
2 parents 1700b45 + aa26f0a commit 9a1e86f

File tree

4 files changed

+12
-11
lines changed

4 files changed

+12
-11
lines changed

app/Helpers/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static function getSentryUnresolvedIssues()
3838
/**
3939
* Get outdated packages from Composer.
4040
*
41-
* @param string $flag
41+
* @param string $flag
4242
* @return array
4343
*/
4444
public static function getComposerOutdatedPackages($flag = '--no-dev')

app/Helpers/Cetak.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class Cetak
3838
* @param int $template_id The template ID
3939
* @param string|null $tanggal The date (optional)
4040
* @param string|null $pengelola The manager (optional)
41-
* @return string The filename of the saved document
41+
* @return string The filename of the saved document
42+
*
4243
* @throws \Exception
4344
*/
4445
public static function cetak($jenis, $models, $filename, $template_id, $tanggal = null, $pengelola = null)

app/Helpers/Fonnte.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ public function __construct()
2929
/**
3030
* Make a request to the Fonnte API.
3131
*
32-
* @param string $endpoint The API endpoint to call.
33-
* @param array $params The parameters to send with the request.
32+
* @param string $endpoint The API endpoint to call.
33+
* @param array $params The parameters to send with the request.
3434
* @return array The response from the API.
3535
*/
3636
protected function makeRequest($endpoint, $params = [])
@@ -63,8 +63,8 @@ protected function makeRequest($endpoint, $params = [])
6363
/**
6464
* Send a WhatsApp message using the Fonnte API.
6565
*
66-
* @param string $phoneNumber The phone number to send the message to.
67-
* @param string $message The message to send.
66+
* @param string $phoneNumber The phone number to send the message to.
67+
* @param string $message The message to send.
6868
* @return array The response from the API.
6969
*/
7070
public function sendWhatsAppMessage($phoneNumber, $message)

app/Helpers/Helper.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class Helper
262262
/**
263263
* Get the name of the last sheet in an Excel file.
264264
*
265-
* @param string $file The path to the Excel file.
265+
* @param string $file The path to the Excel file.
266266
* @return string The name of the last sheet.
267267
*/
268268
public static function getLastSheetName($file)
@@ -280,7 +280,7 @@ public static function getLastSheetName($file)
280280
/**
281281
* Format a phone number to a WhatsApp URL.
282282
*
283-
* @param string $telepon The phone number to format.
283+
* @param string $telepon The phone number to format.
284284
* @return string The formatted WhatsApp URL.
285285
*/
286286
public static function formatTelepon($telepon)
@@ -295,7 +295,7 @@ public static function formatTelepon($telepon)
295295
/**
296296
* Check if the current date is within a specific quarter.
297297
*
298-
* @param int $tw The quarter to check (1, 2, 3, or 4).
298+
* @param int $tw The quarter to check (1, 2, 3, or 4).
299299
* @return bool True if the current date is within the specified quarter, false otherwise.
300300
*/
301301
public static function is_triwulan($tw)
@@ -318,7 +318,7 @@ public static function is_triwulan($tw)
318318
/**
319319
* Check if the current date is within a specific cumulative quarter.
320320
*
321-
* @param int $tw The cumulative quarter to check (1, 2, 3, or 4).
321+
* @param int $tw The cumulative quarter to check (1, 2, 3, or 4).
322322
* @return bool True if the current date is within the specified cumulative quarter, false otherwise.
323323
*/
324324
public static function is_triwulan_kumulatif($tw)
@@ -341,7 +341,7 @@ public static function is_triwulan_kumulatif($tw)
341341
/**
342342
* Get the current quarter based on the given month.
343343
*
344-
* @param int $month The month to determine the quarter.
344+
* @param int $month The month to determine the quarter.
345345
* @return int The current quarter (1, 2, 3, or 4).
346346
*/
347347
public static function getTriwulanBerjalan($month)

0 commit comments

Comments
 (0)