We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff25a4 commit 873fec1Copy full SHA for 873fec1
helpers.php
@@ -1,15 +1,16 @@
1
<?php
2
-if (!function_exists('config_path')) {
+
3
+if (! function_exists('config_path')) {
4
/**
5
* Get the configuration path.
6
*
7
* This is a polyfill for the missing shorthand function in lumen.
8
- * @param string $path
9
+ * @param string $path
10
* @return string
11
*/
12
function config_path($path = '')
13
{
- return app()->basePath('config') . ($path ? DIRECTORY_SEPARATOR . $path : $path);
14
+ return app()->basePath('config').($path ? DIRECTORY_SEPARATOR.$path : $path);
15
}
-}
16
+}
0 commit comments