@@ -4,14 +4,14 @@ discard block |
||
4 | 4 | use Illuminate\Support\Carbon; |
5 | 5 | use MongoDB\BSON\UTCDateTime; |
6 | 6 | |
7 | -if (! function_exists('analytics')) { |
|
7 | +if (!function_exists('analytics')) { |
|
8 | 8 | function analytics(): APAnalytics |
9 | 9 | { |
10 | 10 | return app(APAnalytics::class); |
11 | 11 | } |
12 | 12 | } |
13 | 13 | |
14 | -if (! function_exists('trackEvent')) { |
|
14 | +if (!function_exists('trackEvent')) { |
|
15 | 15 | /** |
16 | 16 | * Access event dispatch of event tracker direct. |
17 | 17 | * @param mixed $event |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | } |
27 | 27 | } |
28 | 28 | |
29 | -if (! function_exists('showEvents')) { |
|
29 | +if (!function_exists('showEvents')) { |
|
30 | 30 | /** |
31 | 31 | * Access event dispatch of event tracker direct. |
32 | 32 | * @param mixed $event |
@@ -44,14 +44,14 @@ discard block |
||
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | -if (! function_exists('is_countable')) { |
|
47 | +if (!function_exists('is_countable')) { |
|
48 | 48 | function is_countable($c) |
49 | 49 | { |
50 | 50 | return is_array($c) || $c instanceof Countable; |
51 | 51 | } |
52 | 52 | } |
53 | 53 | |
54 | -if (! function_exists('mongoTime')) { |
|
54 | +if (!function_exists('mongoTime')) { |
|
55 | 55 | /** |
56 | 56 | * Returns time in MongoDb Time. |
57 | 57 | * @param null|mixed $time |
@@ -64,10 +64,10 @@ discard block |
||
64 | 64 | } |
65 | 65 | } |
66 | 66 | |
67 | -if (! function_exists('valid_json')) { |
|
67 | +if (!function_exists('valid_json')) { |
|
68 | 68 | function valid_json($value) |
69 | 69 | { |
70 | - if (! is_string($value)) { |
|
70 | + if (!is_string($value)) { |
|
71 | 71 | return false; |
72 | 72 | } |
73 | 73 |