@@ -6,7 +6,7 @@ discard block |
||
6 | 6 | * generate sequence |
7 | 7 | * @return sequence based on length supplied |
8 | 8 | */ |
9 | -if (! function_exists('generate_sequence')) { |
|
9 | +if (!function_exists('generate_sequence')) { |
|
10 | 10 | function generate_sequence($input = 1) |
11 | 11 | { |
12 | 12 | return str_pad($input, config('helper.sequence_length'), '0', STR_PAD_LEFT); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /* |
17 | 17 | * Get Abbreviation fo the given text |
18 | 18 | */ |
19 | -if (! function_exists('abbrv')) { |
|
19 | +if (!function_exists('abbrv')) { |
|
20 | 20 | function abbrv($value, $unique_characters = true) |
21 | 21 | { |
22 | 22 | if (true === config('helper.abbrv.remove_non_alphanumeric')) { |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | $split = str_split($value); |
37 | 37 | $unique_characters = []; |
38 | 38 | foreach ($split as $character) { |
39 | - if (! in_array($character, $unique_characters)) { |
|
39 | + if (!in_array($character, $unique_characters)) { |
|
40 | 40 | $unique_characters[] = $character; |
41 | 41 | } |
42 | 42 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | /* |
52 | 52 | * Get Fully Qualified Class Name (FQCN) for an Object |
53 | 53 | */ |
54 | -if (! function_exists('fqcn')) { |
|
54 | +if (!function_exists('fqcn')) { |
|
55 | 55 | function fqcn($object) |
56 | 56 | { |
57 | 57 | return get_class($object); |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /* |
62 | 62 | * Get Slug Name for Fully Qualified Class Name (FQCN) |
63 | 63 | */ |
64 | -if (! function_exists('str_slug_fqcn')) { |
|
64 | +if (!function_exists('str_slug_fqcn')) { |
|
65 | 65 | function str_slug_fqcn($object) |
66 | 66 | { |
67 | 67 | return Str::kebab(fqcn($object)); |