File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ class Config
149149 * @param string $envPrefix
150150 * The prefix for environment variables. Defaults to 'PLATFORM_'.
151151 */
152- public function __construct (array $ environmentVariables = null , string $ envPrefix = 'PLATFORM_ ' )
152+ public function __construct (? array $ environmentVariables = null , string $ envPrefix = 'PLATFORM_ ' )
153153 {
154154 $ this ->environmentVariables = $ environmentVariables ?? getenv ();
155155 $ this ->envPrefix = $ envPrefix ;
@@ -337,7 +337,7 @@ public function getPrimaryRoute() : array
337337 * @return array
338338 * An array of route definitions.
339339 */
340- public function getUpstreamRoutes (string $ appName = null ) : array
340+ public function getUpstreamRoutes (? string $ appName = null ) : array
341341 {
342342 return array_filter ($ this ->routes (), function (array $ route ) use ($ appName ) {
343343 return $ route ['type ' ] == 'upstream '
You can’t perform that action at this time.
0 commit comments