Completed
Pull Request — master (#391)
by
unknown
03:16
created
src/helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-if (! function_exists('module_path')) {
3
+if (!function_exists('module_path')) {
4 4
     function module_path($name)
5 5
     {
6 6
         $module = app('modules')->find($name);
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     }
10 10
 }
11 11
 
12
-if ( ! function_exists('config_path'))
12
+if (!function_exists('config_path'))
13 13
 {
14 14
     /**
15 15
      * Get the configuration path.
@@ -19,11 +19,11 @@  discard block
 block discarded – undo
19 19
      */
20 20
     function config_path($path = '')
21 21
     {
22
-        return app()->basePath() . '/config' . ($path ? '/' . $path : $path);
22
+        return app()->basePath().'/config'.($path ? '/'.$path : $path);
23 23
     }
24 24
 }
25 25
 
26
-if (! function_exists('public_path')) {
26
+if (!function_exists('public_path')) {
27 27
     /**
28 28
      * Get the path to the public folder.
29 29
      *
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
      */
33 33
     function public_path($path = '')
34 34
     {
35
-        return app()->make('path.public') . ($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path);
35
+        return app()->make('path.public').($path ? DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR) : $path);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.