Skip to content

Commit 873fec1

Browse files
author
Lucas Michot
committed
Enforce Laravel style for helpers.php.
1 parent fff25a4 commit 873fec1

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

helpers.php

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
2-
if (!function_exists('config_path')) {
2+
3+
if (! function_exists('config_path')) {
34
/**
45
* Get the configuration path.
56
*
67
* This is a polyfill for the missing shorthand function in lumen.
78
*
8-
* @param string $path
9+
* @param string $path
910
* @return string
1011
*/
1112
function config_path($path = '')
1213
{
13-
return app()->basePath('config') . ($path ? DIRECTORY_SEPARATOR . $path : $path);
14+
return app()->basePath('config').($path ? DIRECTORY_SEPARATOR.$path : $path);
1415
}
15-
}
16+
}

0 commit comments

Comments
 (0)