Passed
Push — master ( b88731...17adc2 )
by Vasyl
02:37
created
src/helpers.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,55 +1,55 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('slug_get_model')) {
3
+if (!function_exists('slug_get_model')) {
4 4
     function slug_get_model($slug, $class = null)
5 5
     {
6 6
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getModel($slug, $class);
7 7
     }
8 8
 }
9 9
 
10
-if (! function_exists('slug_get_models')) {
10
+if (!function_exists('slug_get_models')) {
11 11
     function slug_get_models($slugs, $class = null)
12 12
     {
13 13
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getModels($slugs, $class);
14 14
     }
15 15
 }
16 16
 
17
-if (! function_exists('slug_get_id')) {
17
+if (!function_exists('slug_get_id')) {
18 18
     function slug_get_id($slug, $class = null)
19 19
     {
20 20
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getId($slug, $class);
21 21
     }
22 22
 }
23 23
 
24
-if (! function_exists('slug_get_ids')) {
24
+if (!function_exists('slug_get_ids')) {
25 25
     function slug_get_ids($slugs, $class = null)
26 26
     {
27 27
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getIds($slugs, $class);
28 28
     }
29 29
 }
30 30
 
31
-if (! function_exists('slug_get_grouped_class')) {
31
+if (!function_exists('slug_get_grouped_class')) {
32 32
     function slug_get_grouped_class($attributes, $useId = false)
33 33
     {
34 34
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getIdsGroupedByClass($attributes, $useId);
35 35
     }
36 36
 }
37 37
 
38
-if (! function_exists('slug_get')) {
38
+if (!function_exists('slug_get')) {
39 39
     function slug_get($model)
40 40
     {
41 41
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->getSlugName($model);
42 42
     }
43 43
 }
44 44
 
45
-if (! function_exists('slug_make')) {
45
+if (!function_exists('slug_make')) {
46 46
     function slug_make($model, $slug = '')
47 47
     {
48 48
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->makeForModel($model, $slug);
49 49
     }
50 50
 }
51 51
 
52
-if (! function_exists('slug_delete')) {
52
+if (!function_exists('slug_delete')) {
53 53
     function slug_delete($model)
54 54
     {
55 55
         return app(\Fomvasss\SlugMaker\SlugHelper::class)->deleteByModel($model);
Please login to merge, or discard this patch.