@@ -5,7 +5,7 @@ discard block |
||
| 5 | 5 | namespace { |
| 6 | 6 | use Hyde\Foundation\HydeKernel; |
| 7 | 7 | |
| 8 | - if (! function_exists('hyde')) { |
|
| 8 | + if (!function_exists('hyde')) { |
|
| 9 | 9 | /** |
| 10 | 10 | * Get the available HydeKernel instance. |
| 11 | 11 | */ |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | } |
| 16 | 16 | } |
| 17 | 17 | |
| 18 | - if (! function_exists('unslash')) { |
|
| 18 | + if (!function_exists('unslash')) { |
|
| 19 | 19 | /** |
| 20 | 20 | * Remove trailing slashes from the start and end of a string. |
| 21 | 21 | */ |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | namespace Hyde { |
| 30 | 30 | use Hyde\Foundation\HydeKernel; |
| 31 | 31 | |
| 32 | - if (! function_exists('\Hyde\hyde')) { |
|
| 32 | + if (!function_exists('\Hyde\hyde')) { |
|
| 33 | 33 | /** |
| 34 | 34 | * Get the available HydeKernel instance. |
| 35 | 35 | */ |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | } |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - if (! function_exists('\Hyde\unslash')) { |
|
| 42 | + if (!function_exists('\Hyde\unslash')) { |
|
| 43 | 43 | /** |
| 44 | 44 | * Remove trailing slashes from the start and end of a string. |
| 45 | 45 | */ |
@@ -49,28 +49,28 @@ discard block |
||
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - if (! function_exists('\Hyde\make_title')) { |
|
| 52 | + if (!function_exists('\Hyde\make_title')) { |
|
| 53 | 53 | function make_title(string $value): string |
| 54 | 54 | { |
| 55 | 55 | return hyde()->makeTitle($value); |
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - if (! function_exists('\Hyde\normalize_newlines')) { |
|
| 59 | + if (!function_exists('\Hyde\normalize_newlines')) { |
|
| 60 | 60 | function normalize_newlines(string $string): string |
| 61 | 61 | { |
| 62 | 62 | return hyde()->normalizeNewlines($string); |
| 63 | 63 | } |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - if (! function_exists('\Hyde\strip_newlines')) { |
|
| 66 | + if (!function_exists('\Hyde\strip_newlines')) { |
|
| 67 | 67 | function strip_newlines(string $string): string |
| 68 | 68 | { |
| 69 | 69 | return hyde()->stripNewlines($string); |
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - if (! function_exists('\Hyde\trim_slashes')) { |
|
| 73 | + if (!function_exists('\Hyde\trim_slashes')) { |
|
| 74 | 74 | function trim_slashes(string $string): string |
| 75 | 75 | { |
| 76 | 76 | return hyde()->trimSlashes($string); |